home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 May / macformat-024.iso / Shareware City / HyperCard / MyLibMgr1.0-HC Folder / MyLibMgr 1.0 < prev   
MacBinary  |  1995-02-22  |  178.1 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: MyLibMgr 1.0

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Banyans VINES patch data (other/banyansVINESPatchData) ext Unsupported
1% dexvert PCP archive log (other/pcpArchiveLog) ext Unsupported
100% file MacBinary II, inited, Wed Feb 22 09:45:29 1995, modified Wed Feb 22 09:45:29 1995, creator HyperCard, type HyperCard stack, 109600 bytes "MyLibMgr 1.0" , at 0x1aca0 72530 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 4d 79 4c 69 62 4d | 67 72 20 31 2e 30 00 00 |..MyLibM|gr 1.0..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 ac 20 00 | 01 1b 52 ab 70 fe 89 ab |...... .|..R.p...|
|00000060| 70 fe 89 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |p.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 49 e1 00 00 |........|....I...|
|00000080| 00 00 62 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..b.STAK|........|
|00000090| 00 00 00 0a 00 01 ac 20 | 00 00 62 00 00 00 00 00 |....... |..b.....|
|000000a0| 00 00 00 0e 00 00 00 01 | 00 00 14 e4 00 00 00 02 |........|........|
|000000b0| 00 00 13 47 00 00 09 47 | 00 00 00 00 00 00 00 00 |...G...G|........|
|000000c0| 00 00 0f e9 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| dd ea 8b 81 00 00 00 00 | 00 48 00 40 01 9e 02 40 |........|.H.@...@|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d b2 00 00 0c 27 | 01 56 02 00 00 00 00 00 |.......'|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 66 75 6e 63 74 69 6f 6e | 20 6d 79 61 6e 73 77 65 |function| myanswe|
|00000690| 72 20 74 78 74 2c 70 72 | 6d 70 74 2c 62 74 6e 31 |r txt,pr|mpt,btn1|
|000006a0| 2c 62 74 6e 32 0d 67 6c | 6f 62 61 6c 20 6c 69 73 |,btn2.gl|obal lis|
|000006b0| 74 73 65 6c 65 63 74 65 | 78 69 74 0d 69 66 20 62 |tselecte|xit.if b|
|000006c0| 74 6e 31 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |tn1 is e|mpty the|
|000006d0| 6e 20 70 75 74 20 22 4f | 4b 22 20 69 6e 74 6f 20 |n put "O|K" into |
|000006e0| 62 74 6e 31 0d 69 66 20 | 62 74 6e 32 20 69 73 20 |btn1.if |btn2 is |
|000006f0| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 22 |empty th|en put "|
|00000700| 43 61 6e 63 65 6c 22 20 | 69 6e 74 6f 20 62 74 6e |Cancel" |into btn|
|00000710| 32 0d 69 66 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |2.if the| number |
|00000720| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 74 78 74 20 |of lines| in txt |
|00000730| 3e 20 32 30 20 74 68 65 | 6e 20 73 65 74 70 72 6f |> 20 the|n setpro|
|00000740| 6d 70 74 6f 69 64 20 22 | 20 20 20 20 20 52 65 66 |mptoid "| Ref|
|00000750| 6f 72 6d 61 74 74 69 6e | 67 2e 2e 2e 20 20 20 20 |ormattin|g... |
|00000760| 20 22 0d 69 66 20 74 68 | 65 20 6e 75 6d 62 65 72 | ".if th|e number|
|00000770| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 74 78 74 | of line|s in txt|
|00000780| 20 3d 20 31 20 74 68 65 | 6e 20 70 75 74 20 22 20 | = 1 the|n put " |
|00000790| 20 22 26 72 65 74 75 72 | 6e 26 22 20 20 22 26 72 | "&retur|n&" "&r|
|000007a0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 74 78 74 0d |eturn af|ter txt.|
|000007b0| 72 65 70 65 61 74 20 77 | 69 74 68 20 6a 20 3d 20 |repeat w|ith j = |
|000007c0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|000007d0| 6e 65 73 20 69 6e 20 74 | 78 74 20 64 6f 77 6e 20 |nes in t|xt down |
|000007e0| 74 6f 20 31 0d 69 66 20 | 6c 65 6e 67 74 68 28 6c |to 1.if |length(l|
|000007f0| 69 6e 65 20 6a 20 6f 66 | 20 74 78 74 29 20 3c 20 |ine j of| txt) < |
|00000800| 37 30 20 74 68 65 6e 20 | 6e 65 78 74 20 72 65 70 |70 then |next rep|
|00000810| 65 61 74 0d 70 75 74 20 | 62 72 65 61 6b 6c 69 6e |eat.put |breaklin|
|00000820| 65 28 6c 69 6e 65 20 6a | 20 6f 66 20 74 78 74 2c |e(line j| of txt,|
|00000830| 32 32 29 20 69 6e 74 6f | 20 6c 69 6e 65 20 6a 20 |22) into| line j |
|00000840| 6f 66 20 74 78 74 0d 65 | 6e 64 20 72 65 70 65 61 |of txt.e|nd repea|
|00000850| 74 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |t.if the|re is a |
|00000860| 77 69 6e 64 6f 77 20 22 | 70 72 6f 6d 70 74 6f 69 |window "|promptoi|
|00000870| 64 22 20 74 68 65 6e 20 | 63 6c 6f 73 65 20 77 69 |d" then |close wi|
|00000880| 6e 64 6f 77 20 22 70 72 | 6f 6d 70 74 6f 69 64 22 |ndow "pr|omptoid"|
|00000890| 0d 67 65 74 20 4c 69 73 | 74 53 65 6c 65 63 74 28 |.get Lis|tSelect(|
|000008a0| 22 4f 22 2c 74 78 74 2c | 22 73 3d 30 22 2c 22 6e |"O",txt,|"s=0","n|
|000008b0| 6f 64 6f 75 62 6c 65 63 | 6c 69 63 6b 22 2c 70 72 |odoublec|lick",pr|
|000008c0| 6d 70 74 2c c2 0d 62 74 | 6e 31 2c 62 74 6e 32 2c |mpt,..bt|n1,btn2,|
|000008d0| 22 37 2c 32 38 2c 34 39 | 37 2c 33 32 38 22 2c 22 |"7,28,49|7,328","|
|000008e0| 47 65 6e 65 76 61 2c 39 | 22 29 0d 72 65 74 75 72 |Geneva,9|").retur|
|000008f0| 6e 20 6c 69 73 74 73 65 | 6c 65 63 74 65 78 69 74 |n listse|lectexit|
|00000900| 0d 65 6e 64 20 6d 79 61 | 6e 73 77 65 72 0d 0d 6f |.end mya|nswer..o|
|00000910| 6e 20 6f 70 65 6e 73 74 | 61 63 6b 0d 67 6c 6f 62 |n openst|ack.glob|
|00000920| 61 6c 20 73 6f 72 74 6d | 65 6e 75 2c 73 63 61 6e |al sortm|enu,scan|
|00000930| 6d 65 6e 75 2c 73 6f 72 | 74 63 61 72 64 69 64 73 |menu,sor|tcardids|
|00000940| 2c 73 63 61 6e 63 61 72 | 64 69 64 73 2c 66 69 65 |,scancar|dids,fie|
|00000950| 6c 64 6d 65 6e 75 73 74 | 6f 72 61 67 65 2c c2 0d |ldmenust|orage,..|
|00000960| 73 6f 75 72 63 65 6d 65 | 6e 75 73 74 6f 72 61 67 |sourceme|nustorag|
|00000970| 65 2c 6b 65 79 77 6f 72 | 64 6d 65 6e 75 73 74 6f |e,keywor|dmenusto|
|00000980| 72 61 67 65 0d 67 6f 20 | 74 6f 20 63 64 20 6d 65 |rage.go |to cd me|
|00000990| 6e 75 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |nu.put t|he short|
|000009a0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|000009b0| 61 63 6b 20 69 6e 74 6f | 20 63 64 20 66 69 65 6c |ack into| cd fiel|
|000009c0| 64 20 22 73 74 61 63 6b | 74 69 74 6c 65 22 0d 69 |d "stack|title".i|
|000009d0| 66 20 74 68 65 20 76 69 | 73 69 62 6c 65 20 6f 66 |f the vi|sible of|
|000009e0| 20 63 61 72 64 20 66 69 | 65 6c 64 20 22 65 78 70 | card fi|eld "exp|
|000009f0| 6f 72 74 66 6f 72 6d 61 | 74 22 20 74 68 65 6e 0d |ortforma|t" then.|
|00000a00| 61 6e 73 77 65 72 20 22 | 49 27 6d 20 73 6f 72 72 |answer "|I'm sorr|
|00000a10| 79 2e 20 20 54 68 65 72 | 65 20 6d 75 73 74 20 68 |y. Ther|e must h|
|00000a20| 61 76 65 20 62 65 65 6e | 20 61 20 70 72 6f 62 6c |ave been| a probl|
|00000a30| 65 6d 20 74 68 65 20 6c | 61 73 74 20 74 69 6d 65 |em the l|ast time|
|00000a40| 20 22 26 c2 0d 22 74 68 | 69 73 20 73 74 61 63 6b | "&.."th|is stack|
|00000a50| 20 77 61 73 20 75 73 65 | 64 20 77 68 69 6c 65 20 | was use|d while |
|00000a60| 63 68 61 6e 67 69 6e 67 | 20 74 68 65 20 65 78 70 |changing| the exp|
|00000a70| 6f 72 74 20 66 6f 72 6d | 61 74 20 22 c2 0d 77 69 |ort form|at "..wi|
|00000a80| 74 68 20 22 4c 65 74 20 | 6d 65 20 66 69 78 20 69 |th "Let |me fix i|
|00000a90| 74 22 20 6f 72 20 22 55 | 73 65 20 44 65 66 61 75 |t" or "U|se Defau|
|00000aa0| 6c 74 22 0d 69 66 20 69 | 74 20 3d 20 22 55 73 65 |lt".if i|t = "Use|
|00000ab0| 20 44 65 66 61 75 6c 74 | 22 20 74 68 65 6e 0d 6c | Default|" then.l|
|00000ac0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 70 75 74 20 6c |ock scre|en.put l|
|00000ad0| 69 6e 65 20 31 20 6f 66 | 20 63 64 20 66 69 65 6c |ine 1 of| cd fiel|
|00000ae0| 64 20 22 65 78 70 6f 72 | 74 66 6f 72 6d 61 74 73 |d "expor|tformats|
|00000af0| 74 6f 72 61 67 65 22 20 | 69 6e 74 6f 20 74 65 6d |torage" |into tem|
|00000b00| 70 0d 64 65 6c 65 74 65 | 20 69 74 65 6d 20 31 20 |p.delete| item 1 |
|00000b10| 6f 66 20 74 65 6d 70 0d | 70 75 74 20 74 65 6d 70 |of temp.|put temp|
|00000b20| 20 69 6e 74 6f 20 63 64 | 20 66 69 65 6c 64 20 22 | into cd| field "|
|00000b30| 65 78 70 6f 72 74 66 6f | 72 6d 61 74 22 0d 70 75 |exportfo|rmat".pu|
|00000b40| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 66 6d 74 |t empty |into fmt|
|00000b50| 65 72 72 6f 72 0d 68 69 | 64 65 20 63 64 20 66 69 |error.hi|de cd fi|
|00000b60| 65 6c 64 20 22 65 78 70 | 6f 72 74 66 6f 72 6d 61 |eld "exp|ortforma|
|00000b70| 74 22 0d 68 69 64 65 20 | 63 64 20 62 74 6e 20 22 |t".hide |cd btn "|
|00000b80| 65 78 70 6f 72 74 20 66 | 6f 72 6d 61 74 20 6f 70 |export f|ormat op|
|00000b90| 74 69 6f 6e 73 22 0d 65 | 6e 64 20 69 66 0d 65 6e |tions".e|nd if.en|
|00000ba0| 64 20 69 66 0d 70 75 74 | 20 63 64 20 66 6c 64 20 |d if.put| cd fld |
|00000bb0| 22 73 6f 72 74 6d 65 6e | 75 22 20 69 6e 74 6f 20 |"sortmen|u" into |
|00000bc0| 73 6f 72 74 6d 65 6e 75 | 0d 70 75 74 20 63 64 20 |sortmenu|.put cd |
|00000bd0| 66 6c 64 20 22 73 63 61 | 6e 6d 65 6e 75 22 20 69 |fld "sca|nmenu" i|
|00000be0| 6e 74 6f 20 73 63 61 6e | 6d 65 6e 75 0d 70 75 74 |nto scan|menu.put|
|00000bf0| 20 63 64 20 66 6c 64 20 | 22 73 6f 72 74 63 61 72 | cd fld |"sortcar|
|00000c00| 64 69 64 73 22 20 69 6e | 74 6f 20 73 6f 72 74 63 |dids" in|to sortc|
|00000c10| 61 72 64 69 64 73 0d 70 | 75 74 20 63 64 20 66 6c |ardids.p|ut cd fl|
|00000c20| 64 20 22 73 63 61 6e 63 | 61 72 64 69 64 73 22 20 |d "scanc|ardids" |
|00000c30| 69 6e 74 6f 20 73 63 61 | 6e 63 61 72 64 69 64 73 |into sca|ncardids|
|00000c40| 0d 70 75 74 20 63 64 20 | 66 6c 64 20 22 73 6f 75 |.put cd |fld "sou|
|00000c50| 72 63 65 6d 65 6e 75 73 | 74 6f 72 61 67 65 22 20 |rcemenus|torage" |
|00000c60| 69 6e 74 6f 20 73 6f 75 | 72 63 65 6d 65 6e 75 73 |into sou|rcemenus|
|00000c70| 74 6f 72 61 67 65 0d 70 | 75 74 20 63 64 20 66 6c |torage.p|ut cd fl|
|00000c80| 64 20 22 6b 65 79 77 6f | 72 64 6d 65 6e 75 73 74 |d "keywo|rdmenust|
|00000c90| 6f 72 61 67 65 22 20 69 | 6e 74 6f 20 6b 65 79 77 |orage" i|nto keyw|
|00000ca0| 6f 72 64 6d 65 6e 75 73 | 74 6f 72 61 67 65 0d 70 |ordmenus|torage.p|
|00000cb0| 75 74 20 63 64 20 66 6c | 64 20 22 66 69 65 6c 64 |ut cd fl|d "field|
|00000cc0| 6d 65 6e 75 73 74 6f 72 | 61 67 65 22 20 69 6e 74 |menustor|age" int|
|00000cd0| 6f 20 66 69 65 6c 64 6d | 65 6e 75 73 74 6f 72 61 |o fieldm|enustora|
|00000ce0| 67 65 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |ge.repea|t with i|
|00000cf0| 20 3d 20 31 20 74 6f 20 | 37 0d 73 65 74 20 6c 6f | = 1 to |7.set lo|
|00000d00| 63 6b 74 65 78 74 20 6f | 66 20 66 6c 64 20 69 20 |cktext o|f fld i |
|00000d10| 74 6f 20 6e 6f 74 20 74 | 68 65 20 6c 6f 63 6b 74 |to not t|he lockt|
|00000d20| 65 78 74 20 6f 66 20 66 | 69 65 6c 64 20 69 0d 65 |ext of f|ield i.e|
|00000d30| 6e 64 20 72 65 70 65 61 | 74 0d 64 69 73 70 6c 61 |nd repea|t.displa|
|00000d40| 79 6d 61 72 6b 73 0d 65 | 6e 64 20 6f 70 65 6e 73 |ymarks.e|nd opens|
|00000d50| 74 61 63 6b 0d 0d 6f 6e | 20 64 69 73 70 6c 61 79 |tack..on| display|
|00000d60| 6d 61 72 6b 73 0d 73 65 | 74 20 74 68 65 20 6e 61 |marks.se|t the na|
|00000d70| 6d 65 20 6f 66 20 62 6b | 67 6e 64 20 62 75 74 74 |me of bk|gnd butt|
|00000d80| 6f 6e 20 69 64 20 32 30 | 36 20 74 6f 20 22 43 61 |on id 20|6 to "Ca|
|00000d90| 72 64 3a 22 26 26 28 74 | 68 65 20 6e 75 6d 62 65 |rd:"&&(t|he numbe|
|00000da0| 72 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 2d 31 |r of thi|s card-1|
|00000db0| 29 26 26 22 6f 66 22 26 | 26 c2 0d 74 68 65 20 6e |)&&"of"&|&..the n|
|00000dc0| 75 6d 62 65 72 20 6f 66 | 20 63 64 73 2d 31 26 26 |umber of| cds-1&&|
|00000dd0| 22 28 22 26 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |"("&the |number o|
|00000de0| 66 20 6d 61 72 6b 65 64 | 20 63 64 73 26 22 20 4d |f marked| cds&" M|
|00000df0| 61 72 6b 65 64 29 22 0d | 65 6e 64 20 64 69 73 70 |arked)".|end disp|
|00000e00| 6c 61 79 6d 61 72 6b 73 | 0d 0d 6f 6e 20 72 65 73 |laymarks|..on res|
|00000e10| 75 6d 65 73 74 61 63 6b | 0d 70 61 73 73 20 72 65 |umestack|.pass re|
|00000e20| 73 75 6d 65 73 74 61 63 | 6b 0d 65 6e 64 20 72 65 |sumestac|k.end re|
|00000e30| 73 75 6d 65 73 74 61 63 | 6b 0d 0d 6f 6e 20 73 75 |sumestac|k..on su|
|00000e40| 73 70 65 6e 64 73 74 61 | 63 6b 0d 70 61 73 73 20 |spendsta|ck.pass |
|00000e50| 73 75 73 70 65 6e 64 73 | 74 61 63 6b 0d 65 6e 64 |suspends|tack.end|
|00000e60| 20 73 75 73 70 65 6e 64 | 73 74 61 63 6b 0d 0d 6f | suspend|stack..o|
|00000e70| 6e 20 69 64 6c 65 0d 69 | 66 20 74 68 65 72 65 20 |n idle.i|f there |
|00000e80| 69 73 20 61 20 77 69 6e | 64 6f 77 20 22 70 72 6f |is a win|dow "pro|
|00000e90| 6d 70 74 6f 69 64 22 20 | 74 68 65 6e 20 63 6c 6f |mptoid" |then clo|
|00000ea0| 73 65 20 77 69 6e 64 6f | 77 20 22 70 72 6f 6d 70 |se windo|w "promp|
|00000eb0| 74 6f 69 64 22 0d 65 6e | 64 20 69 64 6c 65 0d 0d |toid".en|d idle..|
|00000ec0| 66 75 6e 63 74 69 6f 6e | 20 62 75 69 6c 64 64 61 |function| buildda|
|00000ed0| 74 65 20 61 64 61 74 65 | 0d 63 6f 6e 76 65 72 74 |te adate|.convert|
|00000ee0| 20 61 64 61 74 65 20 74 | 6f 20 64 61 74 65 69 74 | adate t|o dateit|
|00000ef0| 65 6d 73 0d 70 75 74 20 | 63 68 61 72 20 33 20 74 |ems.put |char 3 t|
|00000f00| 6f 20 34 20 6f 66 20 69 | 74 65 6d 20 31 20 6f 66 |o 4 of i|tem 1 of|
|00000f10| 20 61 64 61 74 65 20 26 | 20 69 74 65 6d 20 32 20 | adate &| item 2 |
|00000f20| 6f 66 20 61 64 61 74 65 | 20 69 6e 74 6f 20 6e 64 |of adate| into nd|
|00000f30| 61 74 65 0d 69 66 20 6c | 65 6e 67 74 68 28 6e 64 |ate.if l|ength(nd|
|00000f40| 61 74 65 29 20 3d 20 33 | 20 74 68 65 6e 20 70 75 |ate) = 3| then pu|
|00000f50| 74 20 22 30 22 20 61 66 | 74 65 72 20 63 68 61 72 |t "0" af|ter char|
|00000f60| 20 32 20 6f 66 20 6e 64 | 61 74 65 0d 70 75 74 20 | 2 of nd|ate.put |
|00000f70| 69 74 65 6d 20 33 20 6f | 66 20 61 64 61 74 65 20 |item 3 o|f adate |
|00000f80| 61 66 74 65 72 20 6e 64 | 61 74 65 0d 69 66 20 6c |after nd|ate.if l|
|00000f90| 65 6e 67 74 68 28 6e 64 | 61 74 65 29 20 3d 20 35 |ength(nd|ate) = 5|
|00000fa0| 20 74 68 65 6e 20 70 75 | 74 20 22 30 22 20 61 66 | then pu|t "0" af|
|00000fb0| 74 65 72 20 63 68 61 72 | 20 34 20 6f 66 20 6e 64 |ter char| 4 of nd|
|00000fc0| 61 74 65 0d 72 65 74 75 | 72 6e 20 6e 64 61 74 65 |ate.retu|rn ndate|
|00000fd0| 26 22 2d 22 26 77 6f 72 | 64 20 31 20 6f 66 20 74 |&"-"&wor|d 1 of t|
|00000fe0| 68 65 20 6c 6f 6e 67 20 | 74 69 6d 65 0d 65 6e 64 |he long |time.end|
|00000ff0| 20 62 75 69 6c 64 64 61 | 74 65 0d 0d 66 75 6e 63 | buildda|te..func|
|00001000| 74 69 6f 6e 20 69 73 6e | 75 6d 62 65 72 20 77 68 |tion isn|umber wh|
|00001010| 61 74 0d 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |at.put t|rue into|
|00001020| 20 69 73 69 74 0d 72 65 | 70 65 61 74 20 77 69 74 | isit.re|peat wit|
|00001030| 68 20 69 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h i = 1 |to the n|
|00001040| 75 6d 62 65 72 20 6f 66 | 20 63 68 61 72 73 20 69 |umber of| chars i|
|00001050| 6e 20 77 68 61 74 0d 69 | 66 20 63 68 61 72 20 69 |n what.i|f char i|
|00001060| 20 6f 66 20 77 68 61 74 | 20 69 73 20 6e 6f 74 20 | of what| is not |
|00001070| 69 6e 20 22 30 31 32 33 | 34 35 36 37 38 39 22 20 |in "0123|456789" |
|00001080| 74 68 65 6e 0d 70 75 74 | 20 66 61 6c 73 65 20 69 |then.put| false i|
|00001090| 6e 74 6f 20 69 73 69 74 | 0d 65 6e 64 20 69 66 0d |nto isit|.end if.|
|000010a0| 65 6e 64 20 72 65 70 65 | 61 74 0d 72 65 74 75 72 |end repe|at.retur|
|000010b0| 6e 20 69 73 69 74 0d 65 | 6e 64 20 69 73 6e 75 6d |n isit.e|nd isnum|
|000010c0| 62 65 72 0d 0d 66 75 6e | 63 74 69 6f 6e 20 65 6e |ber..fun|ction en|
|000010d0| 74 65 72 6e 75 6d 20 77 | 68 69 63 68 2c 20 64 65 |ternum w|hich, de|
|000010e0| 66 74 0d 69 66 20 64 65 | 66 74 20 69 73 20 65 6d |ft.if de|ft is em|
|000010f0| 70 74 79 20 74 68 65 6e | 20 70 75 74 20 31 20 69 |pty then| put 1 i|
|00001100| 6e 74 6f 20 64 65 66 74 | 0d 61 73 6b 20 22 45 6e |nto deft|.ask "En|
|00001110| 74 65 72 20 61 20 6e 75 | 6d 62 65 72 20 66 6f 72 |ter a nu|mber for|
|00001120| 22 26 26 77 68 69 63 68 | 26 22 3f 22 20 77 69 74 |"&&which|&"?" wit|
|00001130| 68 20 64 65 66 74 0d 69 | 66 20 69 74 20 3d 20 65 |h deft.i|f it = e|
|00001140| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 74 |mpty the|n exit t|
|00001150| 6f 20 68 79 70 65 72 63 | 61 72 64 0d 72 65 70 65 |o hyperc|ard.repe|
|00001160| 61 74 20 75 6e 74 69 6c | 20 69 73 6e 75 6d 62 65 |at until| isnumbe|
|00001170| 72 28 69 74 29 0d 61 6e | 73 77 65 72 20 22 53 6f |r(it).an|swer "So|
|00001180| 72 72 79 20 6e 6f 74 20 | 61 20 6e 75 6d 62 65 72 |rry not |a number|
|00001190| 22 0d 61 73 6b 20 22 45 | 6e 74 65 72 20 61 20 6e |".ask "E|nter a n|
|000011a0| 75 6d 62 65 72 20 66 6f | 72 22 26 26 77 68 69 63 |umber fo|r"&&whic|
|000011b0| 68 26 22 3f 22 20 77 69 | 74 68 20 64 65 66 74 0d |h&"?" wi|th deft.|
|000011c0| 69 66 20 69 74 20 3d 20 | 65 6d 70 74 79 20 74 68 |if it = |empty th|
|000011d0| 65 6e 20 65 78 69 74 20 | 74 6f 20 68 79 70 65 72 |en exit |to hyper|
|000011e0| 63 61 72 64 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |card.end| repeat.|
|000011f0| 72 65 74 75 72 6e 20 69 | 74 0d 65 6e 64 20 65 6e |return i|t.end en|
|00001200| 74 65 72 6e 75 6d 0d 0d | 6f 6e 20 65 6d 70 74 79 |ternum..|on empty|
|00001210| 6d 65 6e 75 66 6c 64 73 | 0d 70 75 74 20 65 6d 70 |menuflds|.put emp|
|00001220| 74 79 20 69 6e 74 6f 20 | 66 69 65 6c 64 20 22 74 |ty into |field "t|
|00001230| 69 74 6c 65 22 20 6f 66 | 20 63 61 72 64 20 22 6d |itle" of| card "m|
|00001240| 65 6e 75 22 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |enu".put| empty i|
|00001250| 6e 74 6f 20 66 69 65 6c | 64 20 22 61 75 74 68 6f |nto fiel|d "autho|
|00001260| 72 73 22 20 6f 66 20 63 | 61 72 64 20 22 6d 65 6e |rs" of c|ard "men|
|00001270| 75 22 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |u".put e|mpty int|
|00001280| 6f 20 66 69 65 6c 64 20 | 22 6a 6f 75 72 6e 61 6c |o field |"journal|
|00001290| 22 20 6f 66 20 63 61 72 | 64 20 22 6d 65 6e 75 22 |" of car|d "menu"|
|000012a0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|000012b0| 66 69 65 6c 64 20 22 63 | 69 74 61 74 69 6f 6e 22 |field "c|itation"|
|000012c0| 20 6f 66 20 63 61 72 64 | 20 22 6d 65 6e 75 22 0d | of card| "menu".|
|000012d0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 66 |put empt|y into f|
|000012e0| 69 65 6c 64 20 22 61 62 | 73 74 72 61 63 74 22 20 |ield "ab|stract" |
|000012f0| 6f 66 20 63 61 72 64 20 | 22 6d 65 6e 75 22 0d 70 |of card |"menu".p|
|00001300| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 66 69 |ut empty| into fi|
|00001310| 65 6c 64 20 22 6b 65 79 | 77 6f 72 64 22 20 6f 66 |eld "key|word" of|
|00001320| 20 63 61 72 64 20 22 6d | 65 6e 75 22 0d 70 75 74 | card "m|enu".put|
|00001330| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 66 69 65 6c | empty i|nto fiel|
|00001340| 64 20 22 75 73 65 72 66 | 69 65 6c 64 22 20 6f 66 |d "userf|ield" of|
|00001350| 20 63 61 72 64 20 22 6d | 65 6e 75 22 0d 65 6e 64 | card "m|enu".end|
|00001360| 20 65 6d 70 74 79 6d 65 | 6e 75 66 6c 64 73 0d 0d | emptyme|nuflds..|
|00001370| 6f 6e 20 74 65 73 74 66 | 6d 74 0d 67 6c 6f 62 61 |on testf|mt.globa|
|00001380| 6c 20 65 72 72 6f 72 70 | 61 72 74 2c 20 66 6d 74 |l errorp|art, fmt|
|00001390| 6f 75 74 70 75 74 2c 20 | 65 72 72 6f 72 73 6f 75 |output, |errorsou|
|000013a0| 72 63 65 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |rce.put |empty in|
|000013b0| 74 6f 20 65 72 72 6f 72 | 70 61 72 74 0d 70 75 74 |to error|part.put|
|000013c0| 20 22 74 65 73 74 66 6d | 74 22 20 69 6e 74 6f 20 | "testfm|t" into |
|000013d0| 65 72 72 6f 72 73 6f 75 | 72 63 65 0d 69 66 20 74 |errorsou|rce.if t|
|000013e0| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|000013f0| 20 74 68 69 73 20 63 61 | 72 64 20 69 73 20 22 6d | this ca|rd is "m|
|00001400| 65 6e 75 22 20 74 68 65 | 6e 0d 70 75 74 20 22 54 |enu" the|n.put "T|
|00001410| 68 69 73 20 69 73 20 61 | 20 74 69 74 6c 65 2e 22 |his is a| title."|
|00001420| 20 69 6e 74 6f 20 66 69 | 65 6c 64 20 22 74 69 74 | into fi|eld "tit|
|00001430| 6c 65 22 20 6f 66 20 63 | 61 72 64 20 22 6d 65 6e |le" of c|ard "men|
|00001440| 75 22 0d 70 75 74 20 22 | 57 61 61 6e 64 65 72 73 |u".put "|Waanders|
|00001450| 20 4e 41 2c 20 53 6d 69 | 74 68 20 4b 42 22 20 69 | NA, Smi|th KB" i|
|00001460| 6e 74 6f 20 66 69 65 6c | 64 20 22 61 75 74 68 6f |nto fiel|d "autho|
|00001470| 72 73 22 20 6f 66 20 63 | 61 72 64 20 22 6d 65 6e |rs" of c|ard "men|
|00001480| 75 22 0d 70 75 74 20 22 | 4a 6f 75 72 6e 61 6c 20 |u".put "|Journal |
|00001490| 6f 66 20 52 65 66 65 72 | 65 6e 63 65 20 53 6f 66 |of Refer|ence Sof|
|000014a0| 74 77 61 72 65 22 20 69 | 6e 74 6f 20 66 69 65 6c |tware" i|nto fiel|
|000014b0| 64 20 22 6a 6f 75 72 6e | 61 6c 22 20 6f 66 20 63 |d "journ|al" of c|
|000014c0| 61 72 64 20 22 6d 65 6e | 75 22 0d 70 75 74 20 22 |ard "men|u".put "|
|000014d0| 31 39 39 30 3b 32 30 28 | 33 29 3a 31 32 2d 35 22 |1990;20(|3):12-5"|
|000014e0| 20 69 6e 74 6f 20 66 69 | 65 6c 64 20 22 63 69 74 | into fi|eld "cit|
|000014f0| 61 74 69 6f 6e 22 20 6f | 66 20 63 61 72 64 20 22 |ation" o|f card "|
|00001500| 6d 65 6e 75 22 0d 70 75 | 74 20 22 54 68 69 73 20 |menu".pu|t "This |
|00001510| 69 73 20 61 20 76 65 72 | 79 20 73 68 6f 72 74 20 |is a ver|y short |
|00001520| 61 62 73 74 72 61 63 74 | 2e 22 20 69 6e 74 6f 20 |abstract|." into |
|00001530| 66 69 65 6c 64 20 22 61 | 62 73 74 72 61 63 74 22 |field "a|bstract"|
|00001540| 20 6f 66 20 63 61 72 64 | 20 22 6d 65 6e 75 22 0d | of card| "menu".|
|00001550| 70 75 74 20 22 42 69 62 | 6c 69 6f 67 72 61 70 68 |put "Bib|liograph|
|00001560| 79 22 26 72 65 74 75 72 | 6e 26 22 52 65 66 65 72 |y"&retur|n&"Refer|
|00001570| 65 6e 63 65 73 22 20 69 | 6e 74 6f 20 66 69 65 6c |ences" i|nto fiel|
|00001580| 64 20 22 6b 65 79 77 6f | 72 64 22 20 6f 66 20 63 |d "keywo|rd" of c|
|00001590| 61 72 64 20 22 6d 65 6e | 75 22 0d 70 75 74 20 22 |ard "men|u".put "|
|000015a0| 53 6f 66 74 77 61 72 65 | 20 4c 69 74 65 72 61 74 |Software| Literat|
|000015b0| 75 72 65 22 20 69 6e 74 | 6f 20 66 69 65 6c 64 20 |ure" int|o field |
|000015c0| 22 75 73 65 72 66 69 65 | 6c 64 22 20 6f 66 20 63 |"userfie|ld" of c|
|000015d0| 61 72 64 20 22 6d 65 6e | 75 22 0d 65 6e 64 20 69 |ard "men|u".end i|
|000015e0| 66 0d 70 75 74 20 31 20 | 69 6e 74 6f 20 52 65 66 |f.put 1 |into Ref|
|000015f0| 6e 75 6d 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |num.lock| screen.|
|00001600| 70 75 74 20 63 64 20 66 | 6c 64 20 22 65 78 70 6f |put cd f|ld "expo|
|00001610| 72 74 66 6f 72 6d 61 74 | 22 20 6f 66 20 63 61 72 |rtformat|" of car|
|00001620| 64 20 22 6d 65 6e 75 22 | 20 69 6e 74 6f 20 62 66 |d "menu"| into bf|
|00001630| 6f 72 6d 61 74 0d 70 75 | 74 20 66 75 6c 6c 72 65 |ormat.pu|t fullre|
|00001640| 70 6c 61 63 65 28 66 69 | 65 6c 64 20 22 6b 65 79 |place(fi|eld "key|
|00001650| 77 6f 72 64 22 2c 72 65 | 74 75 72 6e 2c 22 2c 20 |word",re|turn,", |
|00001660| 22 29 20 69 6e 74 6f 20 | 4b 57 4c 49 4e 45 0d 70 |") into |KWLINE.p|
|00001670| 75 74 20 64 6f 61 70 65 | 72 63 6f 6d 28 66 6c 64 |ut doape|rcom(fld|
|00001680| 20 22 61 75 74 68 6f 72 | 73 22 29 20 69 6e 74 6f | "author|s") into|
|00001690| 20 41 50 45 52 0d 70 75 | 74 20 66 75 6c 6c 72 65 | APER.pu|t fullre|
|000016a0| 70 6c 61 63 65 28 41 50 | 45 52 2c 22 20 2c 40 22 |place(AP|ER," ,@"|
|000016b0| 2c 22 2c 20 22 29 20 69 | 6e 74 6f 20 41 50 45 52 |,", ") i|nto APER|
|000016c0| 43 4f 4d 0d 70 75 74 20 | 66 75 6c 6c 72 65 70 6c |COM.put |fullrepl|
|000016d0| 61 63 65 28 41 50 45 52 | 2c 22 2c 40 22 2c 22 22 |ace(APER|,",@",""|
|000016e0| 29 20 69 6e 74 6f 20 41 | 50 45 52 0d 73 65 74 20 |) into A|PER.set |
|000016f0| 6c 6f 63 6b 65 72 72 6f | 72 64 69 61 6c 6f 67 73 |lockerro|rdialogs|
|00001700| 20 74 6f 20 74 72 75 65 | 0d 64 6f 20 22 70 75 74 | to true|.do "put|
|00001710| 20 22 26 62 66 6f 72 6d | 61 74 26 22 20 69 6e 74 | "&bform|at&" int|
|00001720| 6f 20 66 6d 74 6f 75 74 | 70 75 74 22 0d 73 65 74 |o fmtout|put".set|
|00001730| 20 6c 6f 63 6b 65 72 72 | 6f 72 64 69 61 6c 6f 67 | lockerr|ordialog|
|00001740| 73 20 74 6f 20 66 61 6c | 73 65 0d 69 66 20 74 68 |s to fal|se.if th|
|00001750| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00001760| 74 68 69 73 20 63 61 72 | 64 20 69 73 20 22 6d 65 |this car|d is "me|
|00001770| 6e 75 22 20 74 68 65 6e | 20 65 6d 70 74 79 6d 65 |nu" then| emptyme|
|00001780| 6e 75 66 6c 64 73 0d 65 | 6e 64 20 74 65 73 74 66 |nuflds.e|nd testf|
|00001790| 6d 74 0d 0d 6f 6e 20 65 | 72 72 6f 72 64 69 61 6c |mt..on e|rrordial|
|000017a0| 6f 67 0d 73 65 74 20 6c | 6f 63 6b 65 72 72 6f 72 |og.set l|ockerror|
|000017b0| 64 69 61 6c 6f 67 73 20 | 74 6f 20 66 61 6c 73 65 |dialogs |to false|
|000017c0| 0d 67 6c 6f 62 61 6c 20 | 65 72 72 6f 72 70 61 72 |.global |errorpar|
|000017d0| 74 2c 65 72 72 6f 72 73 | 6f 75 72 63 65 0d 69 66 |t,errors|ource.if|
|000017e0| 20 65 72 72 6f 72 73 6f | 75 72 63 65 20 69 73 20 | errorso|urce is |
|000017f0| 22 74 65 73 74 66 6d 74 | 22 20 74 68 65 6e 0d 69 |"testfmt|" then.i|
|00001800| 66 20 65 72 72 6f 72 70 | 61 72 74 20 69 73 20 65 |f errorp|art is e|
|00001810| 6d 70 74 79 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |mpty the|n.answer|
|00001820| 20 22 53 6f 72 72 79 2e | 20 20 54 68 65 72 65 20 | "Sorry.| There |
|00001830| 69 73 20 61 6e 20 65 78 | 70 6f 72 74 20 66 6f 72 |is an ex|port for|
|00001840| 6d 61 74 20 65 72 72 6f | 72 2e 22 20 77 69 74 68 |mat erro|r." with|
|00001850| 20 c2 0d 22 55 73 65 20 | 44 65 66 61 75 6c 74 22 | .."Use |Default"|
|00001860| 20 6f 72 20 22 43 61 6e | 63 65 6c 22 0d 69 66 20 | or "Can|cel".if |
|00001870| 69 74 20 3d 20 22 55 73 | 65 20 44 65 66 61 75 6c |it = "Us|e Defaul|
|00001880| 74 22 20 74 68 65 6e 0d | 6c 6f 63 6b 20 73 63 72 |t" then.|lock scr|
|00001890| 65 65 6e 0d 70 75 74 20 | 6c 69 6e 65 20 31 20 6f |een.put |line 1 o|
|000018a0| 66 20 63 64 20 66 69 65 | 6c 64 20 22 65 78 70 6f |f cd fie|ld "expo|
|000018b0| 72 74 66 6f 72 6d 61 74 | 73 74 6f 72 61 67 65 22 |rtformat|storage"|
|000018c0| 20 6f 66 20 63 61 72 64 | 20 22 6d 65 6e 75 22 20 | of card| "menu" |
|000018d0| 69 6e 74 6f 20 74 65 6d | 70 0d 64 65 6c 65 74 65 |into tem|p.delete|
|000018e0| 20 69 74 65 6d 20 31 20 | 6f 66 20 74 65 6d 70 0d | item 1 |of temp.|
|000018f0| 70 75 74 20 74 65 6d 70 | 20 69 6e 74 6f 20 63 64 |put temp| into cd|
|00001900| 20 66 69 65 6c 64 20 22 | 65 78 70 6f 72 74 66 6f | field "|exportfo|
|00001910| 72 6d 61 74 22 20 6f 66 | 20 63 64 20 22 6d 65 6e |rmat" of| cd "men|
|00001920| 75 22 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 0d 61 |u".end i|f.else.a|
|00001930| 6e 73 77 65 72 20 22 45 | 72 72 6f 72 20 6f 63 63 |nswer "E|rror occ|
|00001940| 75 72 72 65 64 20 69 6e | 20 6c 61 73 74 20 63 6f |urred in| last co|
|00001950| 6d 70 6f 6e 65 6e 74 20 | 6f 66 3a 22 26 72 65 74 |mponent |of:"&ret|
|00001960| 75 72 6e 26 72 65 74 75 | 72 6e 26 65 72 72 6f 72 |urn&retu|rn&error|
|00001970| 70 61 72 74 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |part.put| empty i|
|00001980| 6e 74 6f 20 65 72 72 6f | 72 70 61 72 74 0d 65 6e |nto erro|rpart.en|
|00001990| 64 20 69 66 0d 65 6c 73 | 65 20 69 66 20 65 72 72 |d if.els|e if err|
|000019a0| 6f 72 73 6f 75 72 63 65 | 20 69 73 20 22 66 69 6e |orsource| is "fin|
|000019b0| 64 6d 61 72 6b 22 20 74 | 68 65 6e 0d 61 6e 73 77 |dmark" t|hen.answ|
|000019c0| 65 72 20 22 45 72 72 6f | 72 20 69 6e 20 66 69 65 |er "Erro|r in fie|
|000019d0| 6c 64 20 73 70 65 63 69 | 66 69 63 61 74 69 6f 6e |ld speci|fication|
|000019e0| 2e 20 20 49 74 20 6d 75 | 73 74 20 62 65 20 61 20 |. It mu|st be a |
|000019f0| 76 61 6c 69 64 20 68 79 | 70 65 72 63 61 72 64 20 |valid hy|percard |
|00001a00| 22 26 c2 0d 22 27 63 68 | 75 6e 6b 27 20 64 65 73 |"&.."'ch|unk' des|
|00001a10| 63 72 69 62 69 6e 67 20 | 61 20 66 69 65 6c 64 20 |cribing |a field |
|00001a20| 70 61 72 74 2e 20 20 46 | 6f 72 20 65 78 61 6d 70 |part. F|or examp|
|00001a30| 6c 65 2e 2e 2e 22 26 72 | 65 74 75 72 6e 26 72 65 |le..."&r|eturn&re|
|00001a40| 74 75 72 6e 26 c2 0d 22 | 63 68 61 72 20 31 20 74 |turn&.."|char 1 t|
|00001a50| 6f 20 35 20 6f 66 20 6c | 69 6e 65 20 31 20 6f 66 |o 5 of l|ine 1 of|
|00001a60| 20 66 69 65 6c 64 22 26 | 26 71 75 6f 74 65 26 22 | field"&|&quote&"|
|00001a70| 74 69 74 6c 65 22 26 71 | 75 6f 74 65 0d 65 6e 64 |title"&q|uote.end|
|00001a80| 20 69 66 0d 70 75 74 20 | 65 6d 74 70 79 20 69 6e | if.put |emtpy in|
|00001a90| 74 6f 20 65 72 72 6f 72 | 73 6f 75 72 63 65 0d 65 |to error|source.e|
|00001aa0| 6e 64 20 65 72 72 6f 72 | 64 69 61 6c 6f 67 0d 0d |nd error|dialog..|
|00001ab0| 6f 6e 20 74 65 73 74 70 | 69 65 63 65 73 0d 67 6c |on testp|ieces.gl|
|00001ac0| 6f 62 61 6c 20 65 72 72 | 6f 72 70 61 72 74 2c 65 |obal err|orpart,e|
|00001ad0| 72 72 6f 72 73 6f 75 72 | 63 65 0d 70 75 74 20 65 |rrorsour|ce.put e|
|00001ae0| 6d 70 74 79 20 69 6e 74 | 6f 20 65 72 72 6f 72 70 |mpty int|o errorp|
|00001af0| 61 72 74 0d 70 75 74 20 | 22 74 65 73 74 66 6d 74 |art.put |"testfmt|
|00001b00| 22 20 69 6e 74 6f 20 65 | 72 72 6f 72 73 6f 75 72 |" into e|rrorsour|
|00001b10| 63 65 0d 70 75 74 20 66 | 75 6c 6c 72 65 70 6c 61 |ce.put f|ullrepla|
|00001b20| 63 65 28 63 64 20 66 6c | 64 20 22 65 78 70 6f 72 |ce(cd fl|d "expor|
|00001b30| 74 66 6f 72 6d 61 74 22 | 20 6f 66 20 63 61 72 64 |tformat"| of card|
|00001b40| 20 22 6d 65 6e 75 22 2c | 22 26 26 22 2c 22 26 22 | "menu",|"&&","&"|
|00001b50| 29 20 69 6e 74 6f 20 62 | 66 6f 72 6d 61 74 0d 70 |) into b|format.p|
|00001b60| 75 74 20 66 75 6c 6c 72 | 65 70 6c 61 63 65 28 66 |ut fullr|eplace(f|
|00001b70| 69 65 6c 64 20 22 6b 65 | 79 77 6f 72 64 22 2c 72 |ield "ke|yword",r|
|00001b80| 65 74 75 72 6e 2c 22 2c | 20 22 29 20 69 6e 74 6f |eturn,",| ") into|
|00001b90| 20 4b 57 4c 49 4e 45 0d | 70 75 74 20 64 6f 61 70 | KWLINE.|put doap|
|00001ba0| 65 72 63 6f 6d 28 66 6c | 64 20 22 61 75 74 68 6f |ercom(fl|d "autho|
|00001bb0| 72 73 22 29 20 69 6e 74 | 6f 20 41 50 45 52 0d 70 |rs") int|o APER.p|
|00001bc0| 75 74 20 66 75 6c 6c 72 | 65 70 6c 61 63 65 28 41 |ut fullr|eplace(A|
|00001bd0| 50 45 52 2c 22 20 2c 40 | 22 2c 22 2c 20 22 29 20 |PER," ,@|",", ") |
|00001be0| 69 6e 74 6f 20 41 50 45 | 52 43 4f 4d 0d 70 75 74 |into APE|RCOM.put|
|00001bf0| 20 66 75 6c 6c 72 65 70 | 6c 61 63 65 28 41 50 45 | fullrep|lace(APE|
|00001c00| 52 2c 22 2c 40 22 2c 22 | 22 29 20 69 6e 74 6f 20 |R,",@","|") into |
|00001c10| 41 50 45 52 0d 73 65 74 | 20 69 74 65 6d 64 65 6c |APER.set| itemdel|
|00001c20| 69 6d 69 74 65 72 20 74 | 6f 20 22 26 22 0d 72 65 |imiter t|o "&".re|
|00001c30| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00001c40| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00001c50| 20 69 74 65 6d 73 20 69 | 6e 20 62 66 6f 72 6d 61 | items i|n bforma|
|00001c60| 74 0d 70 75 74 20 69 74 | 65 6d 20 31 20 74 6f 20 |t.put it|em 1 to |
|00001c70| 69 20 6f 66 20 62 66 6f | 72 6d 61 74 20 69 6e 74 |i of bfo|rmat int|
|00001c80| 6f 20 6c 69 6e 65 20 69 | 20 6f 66 20 66 6d 74 6c |o line i| of fmtl|
|00001c90| 69 73 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 73 |ist.end |repeat.s|
|00001ca0| 65 74 20 69 74 65 6d 64 | 65 6c 69 6d 69 74 65 72 |et itemd|elimiter|
|00001cb0| 20 74 6f 20 22 2c 22 0d | 72 65 70 65 61 74 20 77 | to ",".|repeat w|
|00001cc0| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 74 68 65 |ith i = |1 to the|
|00001cd0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00001ce0| 20 69 6e 20 66 6d 74 6c | 69 73 74 0d 70 75 74 20 | in fmtl|ist.put |
|00001cf0| 6c 69 6e 65 20 69 20 6f | 66 20 66 6d 74 6c 69 73 |line i o|f fmtlis|
|00001d00| 74 20 69 6e 74 6f 20 65 | 72 72 6f 72 70 61 72 74 |t into e|rrorpart|
|00001d10| 0d 73 65 74 20 6c 6f 63 | 6b 65 72 72 6f 72 64 69 |.set loc|kerrordi|
|00001d20| 61 6c 6f 67 73 20 74 6f | 20 74 72 75 65 0d 64 6f |alogs to| true.do|
|00001d30| 20 22 70 75 74 20 22 26 | 65 72 72 6f 72 70 61 72 | "put "&|errorpar|
|00001d40| 74 26 22 20 69 6e 74 6f | 20 74 65 6d 70 22 0d 73 |t&" into| temp".s|
|00001d50| 65 74 20 6c 6f 63 6b 65 | 72 72 6f 72 64 69 61 6c |et locke|rrordial|
|00001d60| 6f 67 73 20 74 6f 20 66 | 61 6c 73 65 0d 65 6e 64 |ogs to f|alse.end|
|00001d70| 20 72 65 70 65 61 74 0d | 61 6e 73 77 65 72 20 22 | repeat.|answer "|
|00001d80| 4e 6f 20 65 72 72 6f 72 | 73 20 69 64 65 6e 74 69 |No error|s identi|
|00001d90| 66 69 65 64 2e 22 0d 65 | 6e 64 20 74 65 73 74 70 |fied.".e|nd testp|
|00001da0| 69 65 63 65 73 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |ieces..f|unction |
|00001db0| 64 6f 61 70 65 72 63 6f | 6d 20 61 70 65 72 0d 72 |doaperco|m aper.r|
|00001dc0| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 74 |epeat wi|th i = t|
|00001dd0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 69 74 65 |he numbe|r of ite|
|00001de0| 6d 73 20 69 6e 20 61 70 | 65 72 20 64 6f 77 6e 20 |ms in ap|er down |
|00001df0| 74 6f 20 31 0d 70 75 74 | 20 6c 61 73 74 20 77 6f |to 1.put| last wo|
|00001e00| 72 64 20 6f 66 20 69 74 | 65 6d 20 69 20 6f 66 20 |rd of it|em i of |
|00001e10| 61 70 65 72 20 69 6e 74 | 6f 20 74 65 6d 70 0d 72 |aper int|o temp.r|
|00001e20| 65 70 65 61 74 20 77 69 | 74 68 20 6a 20 3d 20 74 |epeat wi|th j = t|
|00001e30| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |he numbe|r of cha|
|00001e40| 72 73 20 69 6e 20 74 65 | 6d 70 20 64 6f 77 6e 20 |rs in te|mp down |
|00001e50| 74 6f 20 31 0d 70 75 74 | 20 22 2e 22 20 61 66 74 |to 1.put| "." aft|
|00001e60| 65 72 20 63 68 61 72 20 | 6a 20 6f 66 20 74 65 6d |er char |j of tem|
|00001e70| 70 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 70 75 74 |p.end re|peat.put|
|00001e80| 20 22 2c 40 22 26 74 65 | 6d 70 20 69 6e 74 6f 20 | ",@"&te|mp into |
|00001e90| 6c 61 73 74 20 77 6f 72 | 64 20 6f 66 20 69 74 65 |last wor|d of ite|
|00001ea0| 6d 20 69 20 6f 66 20 41 | 50 45 52 0d 65 6e 64 20 |m i of A|PER.end |
|00001eb0| 72 65 70 65 61 74 0d 72 | 65 74 75 72 6e 20 61 70 |repeat.r|eturn ap|
|00001ec0| 65 72 0d 65 6e 64 20 64 | 6f 61 70 65 72 63 6f 6d |er.end d|oapercom|
|00001ed0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 6d 79 67 65 74 |..functi|on myget|
|00001ee0| 66 69 6c 65 20 70 72 6f | 6d 70 74 0d 61 6e 73 77 |file pro|mpt.answ|
|00001ef0| 65 72 20 66 69 6c 65 20 | 70 72 6f 6d 70 74 20 6f |er file |prompt o|
|00001f00| 66 20 74 79 70 65 20 22 | 54 45 58 54 22 0d 69 66 |f type "|TEXT".if|
|00001f10| 20 69 74 20 3d 20 65 6d | 70 74 79 20 74 68 65 6e | it = em|pty then|
|00001f20| 20 65 78 69 74 20 74 6f | 20 68 79 70 65 72 63 61 | exit to| hyperca|
|00001f30| 72 64 0d 72 65 74 75 72 | 6e 20 69 74 0d 6c 6f 63 |rd.retur|n it.loc|
|00001f40| 6b 69 74 0d 65 6e 64 20 | 6d 79 67 65 74 66 69 6c |kit.end |mygetfil|
|00001f50| 65 0d 0d 6f 6e 20 6c 6f | 63 6b 69 74 0d 6c 6f 63 |e..on lo|ckit.loc|
|00001f60| 6b 20 73 63 72 65 65 6e | 0d 73 65 74 20 63 75 72 |k screen|.set cur|
|00001f70| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 65 6e 64 |sor to w|atch.end|
|00001f80| 20 6c 6f 63 6b 69 74 0d | 0d 6f 6e 20 63 6c 6f 73 | lockit.|.on clos|
|00001f90| 65 73 74 61 63 6b 0d 67 | 6f 20 74 6f 20 63 64 20 |estack.g|o to cd |
|00001fa0| 6d 65 6e 75 0d 69 66 20 | 74 68 65 20 76 69 73 69 |menu.if |the visi|
|00001fb0| 62 6c 65 20 6f 66 20 63 | 64 20 66 69 65 6c 64 20 |ble of c|d field |
|00001fc0| 22 65 78 70 6f 72 74 66 | 6f 72 6d 61 74 22 20 74 |"exportf|ormat" t|
|00001fd0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 54 68 69 73 |hen.answ|er "This|
|00001fe0| 20 66 6f 72 6d 61 74 20 | 22 26 c2 0d 22 6d 75 73 | format |"&.."mus|
|00001ff0| 74 20 62 65 20 63 6f 72 | 72 65 63 74 20 74 6f 20 |t be cor|rect to |
|00002000| 61 76 6f 69 64 20 65 72 | 72 6f 72 73 20 69 6e 20 |avoid er|rors in |
|00002010| 6f 74 68 65 72 20 73 63 | 72 69 70 74 73 2e 20 20 |other sc|ripts. |
|00002020| 46 6f 72 20 65 78 74 72 | 61 20 22 26 c2 0d 22 63 |For extr|a "&.."c|
|00002030| 61 75 74 69 6f 6e 20 69 | 74 20 77 69 6c 6c 20 62 |aution i|t will b|
|00002040| 65 20 74 65 73 74 65 64 | 20 6e 6f 77 2e 22 0d 74 |e tested| now.".t|
|00002050| 65 73 74 66 6d 74 0d 6c | 6f 63 6b 20 73 63 72 65 |estfmt.l|ock scre|
|00002060| 65 6e 0d 68 69 64 65 20 | 63 64 20 66 6c 64 20 22 |en.hide |cd fld "|
|00002070| 65 78 70 6f 72 74 66 6f | 72 6d 61 74 22 20 6f 66 |exportfo|rmat" of|
|00002080| 20 63 61 72 64 20 22 6d | 65 6e 75 22 0d 68 69 64 | card "m|enu".hid|
|00002090| 65 20 63 64 20 66 6c 64 | 20 22 65 78 70 6f 72 74 |e cd fld| "export|
|000020a0| 6e 6f 74 65 73 22 20 6f | 66 20 63 61 72 64 20 22 |notes" o|f card "|
|000020b0| 6d 65 6e 75 22 0d 68 69 | 64 65 20 63 64 20 62 74 |menu".hi|de cd bt|
|000020c0| 6e 20 22 65 78 70 6f 72 | 74 20 66 6f 72 6d 61 74 |n "expor|t format|
|000020d0| 20 6f 70 74 69 6f 6e 73 | 22 20 6f 66 20 63 61 72 | options|" of car|
|000020e0| 64 20 22 6d 65 6e 75 22 | 0d 65 6e 64 20 69 66 0d |d "menu"|.end if.|
|000020f0| 69 64 6c 65 0d 69 66 20 | 28 66 72 65 65 73 69 7a |idle.if |(freesiz|
|00002100| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 29 |e of thi|s stack)|
|00002110| 3e 32 30 30 30 30 30 20 | 74 68 65 6e 0d 61 6e 73 |>200000 |then.ans|
|00002120| 77 65 72 20 22 46 72 65 | 65 20 53 70 61 63 65 20 |wer "Fre|e Space |
|00002130| 69 73 20 73 74 61 63 6b | 20 69 73 20 67 72 65 61 |is stack| is grea|
|00002140| 74 65 72 20 74 68 61 6e | 20 32 30 30 4b 2e 22 26 |ter than| 200K."&|
|00002150| 72 65 74 75 72 6e 26 72 | 65 74 75 72 6e 26 c2 0d |return&r|eturn&..|
|00002160| 22 49 20 6e 65 65 64 20 | 74 6f 20 63 6f 6d 70 61 |"I need |to compa|
|00002170| 63 74 65 64 2e 22 20 77 | 69 74 68 20 22 43 6f 6d |cted." w|ith "Com|
|00002180| 70 61 63 74 22 20 6f 72 | 20 22 4e 6f 74 20 6e 6f |pact" or| "Not no|
|00002190| 77 21 22 0d 69 66 20 69 | 74 3d 22 43 6f 6d 70 61 |w!".if i|t="Compa|
|000021a0| 63 74 22 20 74 68 65 6e | 0d 64 6f 6d 65 6e 75 20 |ct" then|.domenu |
|000021b0| 22 63 6f 6d 70 61 63 74 | 20 73 74 61 63 6b 22 0d |"compact| stack".|
|000021c0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|000021d0| 64 20 63 6c 6f 73 65 73 | 74 61 63 6b 0d 0d 6f 6e |d closes|tack..on|
|000021e0| 20 69 66 6e 6f 63 61 72 | 64 73 0d 69 66 20 74 68 | ifnocar|ds.if th|
|000021f0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 61 72 64 |e number| of card|
|00002200| 73 20 3d 20 31 20 74 68 | 65 6e 0d 61 6e 73 77 65 |s = 1 th|en.answe|
|00002210| 72 20 22 54 68 69 73 20 | 73 74 61 63 6b 20 6d 61 |r "This |stack ma|
|00002220| 6e 69 70 75 6c 61 74 65 | 73 20 72 65 66 65 72 65 |nipulate|s refere|
|00002230| 6e 63 65 73 2c 20 77 68 | 69 63 68 20 22 26 c2 0d |nces, wh|ich "&..|
|00002240| 22 63 61 6e 20 62 65 20 | 6c 6f 61 64 65 64 20 66 |"can be |loaded f|
|00002250| 72 6f 6d 20 61 20 64 6f | 77 6e 6c 6f 61 64 65 64 |rom a do|wnloaded|
|00002260| 20 4d 65 64 6c 69 6e 65 | 20 4e 4c 46 20 74 65 78 | Medline| NLF tex|
|00002270| 74 20 66 69 6c 65 20 6f | 72 20 74 79 70 65 64 20 |t file o|r typed |
|00002280| 22 26 c2 0d 22 6d 61 6e | 75 61 6c 6c 79 2e 20 20 |"&.."man|ually. |
|00002290| 43 75 72 72 65 6e 74 6c | 79 2c 20 74 68 65 72 65 |Currentl|y, there|
|000022a0| 20 61 72 65 20 6e 6f 20 | 63 61 72 64 73 2e 20 20 | are no |cards. |
|000022b0| 55 73 65 20 27 4e 65 77 | 20 43 61 72 64 27 20 75 |Use 'New| Card' u|
|000022c0| 6e 64 65 72 20 22 26 c2 | 0d 22 74 68 65 20 27 65 |nder "&.|."the 'e|
|000022d0| 64 69 74 27 20 6d 65 6e | 75 20 6f 72 20 74 68 65 |dit' men|u or the|
|000022e0| 20 27 69 6d 70 6f 72 74 | 27 20 62 75 74 74 6f 6e | 'import|' button|
|000022f0| 20 74 6f 20 6d 61 6b 65 | 20 6e 65 77 20 72 65 66 | to make| new ref|
|00002300| 65 72 65 6e 63 65 20 63 | 61 72 64 73 2e 22 0d 65 |erence c|ards.".e|
|00002310| 78 69 74 20 74 6f 20 68 | 79 70 65 72 63 61 72 64 |xit to h|ypercard|
|00002320| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 6e 6f |.end if.|end ifno|
|00002330| 63 61 72 64 73 0d 0d 6f | 6e 20 69 66 6e 6f 6d 61 |cards..o|n ifnoma|
|00002340| 72 6b 65 64 63 61 72 64 | 73 0d 69 66 6e 6f 63 61 |rkedcard|s.ifnoca|
|00002350| 72 64 73 0d 69 66 20 74 | 68 65 20 6e 75 6d 62 65 |rds.if t|he numbe|
|00002360| 72 20 6f 66 20 6d 61 72 | 6b 65 64 20 63 61 72 64 |r of mar|ked card|
|00002370| 73 20 3d 20 30 20 74 68 | 65 6e 0d 61 6e 73 77 65 |s = 0 th|en.answe|
|00002380| 72 20 22 54 68 69 73 20 | 73 63 72 69 70 74 20 77 |r "This |script w|
|00002390| 6f 72 6b 73 20 77 69 74 | 68 20 6d 61 72 6b 65 64 |orks wit|h marked|
|000023a0| 20 63 61 72 64 73 20 6f | 6e 6c 79 2e 20 20 22 26 | cards o|nly. "&|
|000023b0| c2 0d 22 43 75 72 72 65 | 6e 74 6c 79 2c 20 74 68 |.."Curre|ntly, th|
|000023c0| 65 72 65 20 61 72 65 20 | 6e 6f 20 6d 61 72 6b 65 |ere are |no marke|
|000023d0| 64 20 63 61 72 64 73 2e | 20 20 54 6f 20 6d 61 72 |d cards.| To mar|
|000023e0| 6b 20 61 20 63 61 72 64 | 2c 20 63 6c 69 63 6b 20 |k a card|, click |
|000023f0| 69 6e 20 22 26 c2 0d 22 | 74 68 65 20 75 70 70 65 |in "&.."|the uppe|
|00002400| 72 20 72 69 67 68 74 20 | 63 6f 72 6e 65 72 20 6f |r right |corner o|
|00002410| 66 20 61 20 72 65 66 65 | 72 65 6e 63 65 20 63 61 |f a refe|rence ca|
|00002420| 72 64 20 6f 72 20 75 73 | 65 20 74 68 65 20 76 61 |rd or us|e the va|
|00002430| 72 69 6f 75 73 20 6d 61 | 72 6b 69 6e 67 20 22 26 |rious ma|rking "&|
|00002440| c2 0d 22 66 75 6e 63 74 | 69 6f 6e 73 20 6f 66 20 |.."funct|ions of |
|00002450| 74 68 65 20 6d 61 72 6b | 69 6e 67 20 70 6f 70 75 |the mark|ing popu|
|00002460| 70 20 6d 65 6e 75 2e 22 | 0d 65 78 69 74 20 74 6f |p menu."|.exit to|
|00002470| 20 68 79 70 65 72 63 61 | 72 64 0d 65 6e 64 20 69 | hyperca|rd.end i|
|00002480| 66 0d 65 6e 64 20 69 66 | 6e 6f 6d 61 72 6b 65 64 |f.end if|nomarked|
|00002490| 63 61 72 64 73 0d 0d 6f | 6e 20 69 66 73 6f 72 74 |cards..o|n ifsort|
|000024a0| 61 75 74 68 6f 72 0d 69 | 66 20 73 6f 72 74 6d 6e |author.i|f sortmn|
|000024b0| 65 75 20 3d 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |eu = emp|ty then.|
|000024c0| 61 6e 73 77 65 72 20 22 | 59 6f 75 20 6e 65 65 64 |answer "|You need|
|000024d0| 20 74 6f 20 72 65 73 6f | 72 74 20 62 79 20 61 75 | to reso|rt by au|
|000024e0| 74 68 6f 72 22 20 77 69 | 74 68 20 22 53 6f 72 72 |thor" wi|th "Sorr|
|000024f0| 79 22 0d 65 78 69 74 20 | 74 6f 20 68 79 70 65 72 |y".exit |to hyper|
|00002500| 63 61 72 64 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |card.end| if.end |
|00002510| 69 66 73 6f 72 74 61 75 | 74 68 6f 72 0d 0d 6f 6e |ifsortau|thor..on|
|00002520| 20 73 65 74 70 72 6f 6d | 70 74 6f 69 64 20 6d 73 | setprom|ptoid ms|
|00002530| 67 0d 69 66 20 22 70 72 | 6f 6d 70 74 6f 69 64 22 |g.if "pr|omptoid"|
|00002540| 20 69 73 20 69 6e 20 74 | 68 65 20 77 69 6e 64 6f | is in t|he windo|
|00002550| 77 73 20 74 68 65 6e 0d | 73 65 74 20 74 65 78 74 |ws then.|set text|
|00002560| 20 6f 66 20 77 69 6e 64 | 6f 77 20 22 70 72 6f 6d | of wind|ow "prom|
|00002570| 70 74 6f 69 64 22 20 74 | 6f 20 6d 73 67 0d 65 6c |ptoid" t|o msg.el|
|00002580| 73 65 0d 70 72 6f 6d 70 | 74 6f 69 64 20 6d 73 67 |se.promp|toid msg|
|00002590| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 73 65 74 70 |.end if.|end setp|
|000025a0| 72 6f 6d 70 74 6f 69 64 | 0d 0d 6f 6e 20 6f 70 65 |romptoid|..on ope|
|000025b0| 6e 43 61 72 64 0d 74 6f | 67 67 6c 65 4d 61 72 6b |nCard.to|ggleMark|
|000025c0| 20 74 68 65 20 6d 61 72 | 6b 65 64 20 6f 66 20 74 | the mar|ked of t|
|000025d0| 68 69 73 20 63 64 0d 64 | 69 73 70 6c 61 79 6d 61 |his cd.d|isplayma|
|000025e0| 72 6b 73 0d 70 61 73 73 | 20 6f 70 65 6e 43 61 72 |rks.pass| openCar|
|000025f0| 64 0d 65 6e 64 20 6f 70 | 65 6e 43 61 72 64 0d 0d |d.end op|enCard..|
|00002600| 6f 6e 20 61 72 72 6f 77 | 4b 65 79 20 77 68 69 63 |on arrow|Key whic|
|00002610| 68 4b 65 79 0d 69 66 20 | 28 28 77 68 69 63 68 4b |hKey.if |((whichK|
|00002620| 65 79 20 69 73 20 22 52 | 69 67 68 74 22 29 20 61 |ey is "R|ight") a|
|00002630| 6e 64 20 28 74 68 65 20 | 73 68 69 66 74 4b 65 79 |nd (the |shiftKey|
|00002640| 20 69 73 20 64 6f 77 6e | 29 29 20 74 68 65 6e 0d | is down|)) then.|
|00002650| 64 6f 6e 65 78 74 6d 61 | 72 6b 65 64 0d 65 6c 73 |donextma|rked.els|
|00002660| 65 20 69 66 20 28 28 77 | 68 69 63 68 4b 65 79 20 |e if ((w|hichKey |
|00002670| 69 73 20 22 4c 65 66 74 | 22 29 20 61 6e 64 20 28 |is "Left|") and (|
|00002680| 74 68 65 20 73 68 69 66 | 74 4b 65 79 20 69 73 20 |the shif|tKey is |
|00002690| 64 6f 77 6e 29 29 20 74 | 68 65 6e 0d 64 6f 70 72 |down)) t|hen.dopr|
|000026a0| 65 76 6d 61 72 6b 65 64 | 0d 65 6c 73 65 20 69 66 |evmarked|.else if|
|000026b0| 20 28 77 68 69 63 68 4b | 65 79 20 69 73 20 22 55 | (whichK|ey is "U|
|000026c0| 70 22 29 20 6f 72 20 28 | 77 68 69 63 68 4b 65 79 |p") or (|whichKey|
|000026d0| 20 69 73 20 22 44 6f 77 | 6e 22 29 20 74 68 65 6e | is "Dow|n") then|
|000026e0| 0d 67 6f 20 74 6f 20 63 | 61 72 64 20 6d 65 6e 75 |.go to c|ard menu|
|000026f0| 0d 65 6c 73 65 0d 70 61 | 73 73 20 61 72 72 6f 77 |.else.pa|ss arrow|
|00002700| 4b 65 79 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 61 |Key.end |if.end a|
|00002710| 72 72 6f 77 4b 65 79 0d | 0d 6f 6e 20 74 6f 67 67 |rrowKey.|.on togg|
|00002720| 6c 65 4d 61 72 6b 20 69 | 73 4d 61 72 6b 65 64 0d |leMark i|sMarked.|
|00002730| 69 66 20 69 73 4d 61 72 | 6b 65 64 20 74 68 65 6e |if isMar|ked then|
|00002740| 0d 73 65 74 20 69 63 6f | 6e 20 6f 66 20 62 67 20 |.set ico|n of bg |
|00002750| 62 74 6e 20 69 64 20 31 | 36 32 20 74 6f 20 31 30 |btn id 1|62 to 10|
|00002760| 34 30 38 0d 73 65 74 20 | 74 68 65 20 6d 61 72 6b |408.set |the mark|
|00002770| 65 64 20 6f 66 20 74 68 | 69 73 20 63 64 20 74 6f |ed of th|is cd to|
|00002780| 20 74 72 75 65 0d 65 6c | 73 65 0d 73 65 74 20 69 | true.el|se.set i|
|00002790| 63 6f 6e 20 6f 66 20 62 | 67 20 62 74 6e 20 69 64 |con of b|g btn id|
|000027a0| 20 31 36 32 20 74 6f 20 | 31 30 34 30 37 0d 73 65 | 162 to |10407.se|
|000027b0| 74 20 74 68 65 20 6d 61 | 72 6b 65 64 20 6f 66 20 |t the ma|rked of |
|000027c0| 74 68 69 73 20 63 64 20 | 74 6f 20 66 61 6c 73 65 |this cd |to false|
|000027d0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 74 6f 67 67 |.end if.|end togg|
|000027e0| 6c 65 4d 61 72 6b 0d 0d | 6f 6e 20 64 6f 70 72 65 |leMark..|on dopre|
|000027f0| 76 6d 61 72 6b 65 64 0d | 6c 6f 63 6b 69 74 0d 70 |vmarked.|lockit.p|
|00002800| 75 74 20 74 68 65 20 20 | 6e 75 6d 62 65 72 20 6f |ut the |number o|
|00002810| 66 20 74 68 69 73 20 63 | 64 20 69 6e 74 6f 20 73 |f this c|d into s|
|00002820| 74 61 72 74 63 61 72 64 | 0d 67 6f 20 70 72 65 76 |tartcard|.go prev|
|00002830| 20 6d 61 72 6b 65 64 20 | 63 64 0d 69 66 20 74 68 | marked |cd.if th|
|00002840| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 68 69 73 |e number| of this|
|00002850| 20 63 64 20 3e 20 73 74 | 61 72 74 63 61 72 64 20 | cd > st|artcard |
|00002860| 61 6e 64 20 73 74 61 72 | 74 63 61 72 64 20 3c 3e |and star|tcard <>|
|00002870| 20 31 20 74 68 65 6e 0d | 67 6f 20 74 6f 20 63 64 | 1 then.|go to cd|
|00002880| 20 22 6d 65 6e 75 22 0d | 65 6c 73 65 0d 74 6f 67 | "menu".|else.tog|
|00002890| 67 6c 65 4d 61 72 6b 20 | 74 68 65 20 6d 61 72 6b |gleMark |the mark|
|000028a0| 65 64 20 6f 66 20 74 68 | 69 73 20 63 64 0d 65 6e |ed of th|is cd.en|
|000028b0| 64 20 69 66 0d 65 6e 64 | 20 64 6f 70 72 65 76 6d |d if.end| doprevm|
|000028c0| 61 72 6b 65 64 0d 0d 6f | 6e 20 64 6f 6e 65 78 74 |arked..o|n donext|
|000028d0| 6d 61 72 6b 65 64 0d 6c | 6f 63 6b 69 74 0d 70 75 |marked.l|ockit.pu|
|000028e0| 74 20 74 68 65 20 20 6e | 75 6d 62 65 72 20 6f 66 |t the n|umber of|
|000028f0| 20 74 68 69 73 20 63 64 | 20 69 6e 74 6f 20 73 74 | this cd| into st|
|00002900| 61 72 74 63 61 72 64 0d | 67 6f 20 6e 65 78 74 20 |artcard.|go next |
|00002910| 6d 61 72 6b 65 64 20 63 | 64 0d 69 66 20 74 68 65 |marked c|d.if the|
|00002920| 20 6e 75 6d 62 65 72 20 | 6f 66 20 74 68 69 73 20 | number |of this |
|00002930| 63 64 20 3c 20 73 74 61 | 72 74 63 61 72 64 20 61 |cd < sta|rtcard a|
|00002940| 6e 64 20 73 74 61 72 74 | 63 61 72 64 20 3c 3e 20 |nd start|card <> |
|00002950| 31 20 74 68 65 6e 0d 67 | 6f 20 74 6f 20 63 64 20 |1 then.g|o to cd |
|00002960| 22 6d 65 6e 75 22 0d 65 | 6c 73 65 0d 74 6f 67 67 |"menu".e|lse.togg|
|00002970| 6c 65 4d 61 72 6b 20 74 | 68 65 20 6d 61 72 6b 65 |leMark t|he marke|
|00002980| 64 20 6f 66 20 74 68 69 | 73 20 63 64 0d 65 6e 64 |d of thi|s cd.end|
|00002990| 20 69 66 0d 65 6e 64 20 | 64 6f 6e 65 78 74 6d 61 | if.end |donextma|
|000029a0| 72 6b 65 64 0d 0d 6f 6e | 20 73 63 61 6e 63 64 73 |rked..on| scancds|
|000029b0| 20 73 63 61 6e 74 79 70 | 65 0d 67 6c 6f 62 61 6c | scantyp|e.global|
|000029c0| 20 69 74 65 6d 6c 69 73 | 74 2c 63 61 72 64 69 64 | itemlis|t,cardid|
|000029d0| 73 2c 6d 65 6e 75 6c 69 | 73 74 2c 6d 65 6e 75 63 |s,menuli|st,menuc|
|000029e0| 61 72 64 69 64 73 2c 73 | 63 61 6e 6d 65 6e 75 2c |ardids,s|canmenu,|
|000029f0| 73 63 61 6e 63 61 72 64 | 69 64 73 0d 69 66 6e 6f |scancard|ids.ifno|
|00002a00| 63 61 72 64 73 0d 6c 6f | 63 6b 69 74 0d 50 72 6f |cards.lo|ckit.Pro|
|00002a10| 6d 70 74 6f 69 64 20 22 | 20 20 20 20 20 20 20 20 |mptoid "| |
|00002a20| 20 53 63 61 6e 6e 69 6e | 67 20 63 61 72 64 73 20 | Scannin|g cards |
|00002a30| 66 6f 72 20 22 26 73 63 | 61 6e 74 79 70 65 26 22 |for "&sc|antype&"|
|00002a40| 2e 2e 2e 20 20 20 20 20 | 20 20 20 20 22 0d 70 75 |... | ".pu|
|00002a50| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 6d 65 6e |t empty |into men|
|00002a60| 75 6c 69 73 74 0d 70 75 | 74 20 65 6d 70 74 79 20 |ulist.pu|t empty |
|00002a70| 69 6e 74 6f 20 6d 65 6e | 75 63 61 72 64 69 64 73 |into men|ucardids|
|00002a80| 0d 65 6d 70 74 79 6d 65 | 6e 75 66 6c 64 73 0d 70 |.emptyme|nuflds.p|
|00002a90| 75 74 20 31 20 69 6e 74 | 6f 20 63 6f 75 6e 74 0d |ut 1 int|o count.|
|00002aa0| 69 66 20 73 63 61 6e 74 | 79 70 65 20 3d 20 22 41 |if scant|ype = "A|
|00002ab0| 75 74 68 6f 72 73 22 20 | 74 68 65 6e 0d 72 65 70 |uthors" |then.rep|
|00002ac0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 32 20 74 |eat with| i = 2 t|
|00002ad0| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00002ae0| 63 64 73 0d 70 75 74 20 | 66 6c 64 20 22 61 75 74 |cds.put |fld "aut|
|00002af0| 68 6f 72 73 22 20 6f 66 | 20 63 64 20 69 20 69 6e |hors" of| cd i in|
|00002b00| 74 6f 20 61 75 74 68 6f | 72 73 0d 70 75 74 20 77 |to autho|rs.put w|
|00002b10| 6f 72 64 20 33 20 6f 66 | 20 74 68 65 20 73 68 6f |ord 3 of| the sho|
|00002b20| 72 74 20 6e 61 6d 65 20 | 6f 66 20 63 64 20 69 20 |rt name |of cd i |
|00002b30| 69 6e 74 6f 20 74 65 6d | 70 69 64 0d 72 65 70 65 |into tem|pid.repe|
|00002b40| 61 74 20 77 69 74 68 20 | 6a 20 3d 20 31 20 74 6f |at with |j = 1 to|
|00002b50| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 69 | the num|ber of i|
|00002b60| 74 65 6d 73 20 69 6e 20 | 61 75 74 68 6f 72 73 0d |tems in |authors.|
|00002b70| 70 75 74 20 77 6f 72 64 | 20 31 20 74 6f 20 35 20 |put word| 1 to 5 |
|00002b80| 6f 66 20 69 74 65 6d 20 | 6a 20 6f 66 20 61 75 74 |of item |j of aut|
|00002b90| 68 6f 72 73 20 69 6e 74 | 6f 20 6c 69 6e 65 20 63 |hors int|o line c|
|00002ba0| 6f 75 6e 74 20 6f 66 20 | 6e 65 77 69 74 65 6d 6c |ount of |newiteml|
|00002bb0| 69 73 74 0d 70 75 74 20 | 74 65 6d 70 69 64 26 22 |ist.put |tempid&"|
|00002bc0| 20 22 20 61 66 74 65 72 | 20 6e 65 77 63 61 72 64 | " after| newcard|
|00002bd0| 69 64 73 0d 61 64 64 20 | 31 20 74 6f 20 63 6f 75 |ids.add |1 to cou|
|00002be0| 6e 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |nt.end r|epeat.en|
|00002bf0| 64 20 72 65 70 65 61 74 | 0d 65 6c 73 65 20 69 66 |d repeat|.else if|
|00002c00| 20 73 63 61 6e 74 79 70 | 65 20 3d 20 22 4b 65 79 | scantyp|e = "Key|
|00002c10| 77 6f 72 64 73 22 20 74 | 68 65 6e 0d 72 65 70 65 |words" t|hen.repe|
|00002c20| 61 74 20 77 69 74 68 20 | 69 20 3d 20 32 20 74 6f |at with |i = 2 to|
|00002c30| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00002c40| 64 73 0d 70 75 74 20 66 | 6c 64 20 22 6b 65 79 77 |ds.put f|ld "keyw|
|00002c50| 6f 72 64 22 20 6f 66 20 | 63 64 20 69 20 69 6e 74 |ord" of |cd i int|
|00002c60| 6f 20 6b 65 79 77 6f 72 | 64 0d 70 75 74 20 77 6f |o keywor|d.put wo|
|00002c70| 72 64 20 33 20 6f 66 20 | 74 68 65 20 73 68 6f 72 |rd 3 of |the shor|
|00002c80| 74 20 6e 61 6d 65 20 6f | 66 20 63 64 20 69 20 69 |t name o|f cd i i|
|00002c90| 6e 74 6f 20 74 65 6d 70 | 69 64 0d 72 65 70 65 61 |nto temp|id.repea|
|00002ca0| 74 20 77 69 74 68 20 6a | 20 3d 20 31 20 74 6f 20 |t with j| = 1 to |
|00002cb0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00002cc0| 6e 65 73 20 69 6e 20 6b | 65 79 77 6f 72 64 0d 70 |nes in k|eyword.p|
|00002cd0| 75 74 20 77 6f 72 64 20 | 31 20 74 6f 20 35 20 6f |ut word |1 to 5 o|
|00002ce0| 66 20 6c 69 6e 65 20 6a | 20 6f 66 20 6b 65 79 77 |f line j| of keyw|
|00002cf0| 6f 72 64 20 69 6e 74 6f | 20 6c 69 6e 65 20 63 6f |ord into| line co|
|00002d00| 75 6e 74 20 6f 66 20 6e | 65 77 69 74 65 6d 6c 69 |unt of n|ewitemli|
|00002d10| 73 74 0d 70 75 74 20 74 | 65 6d 70 69 64 26 22 20 |st.put t|empid&" |
|00002d20| 22 20 69 6e 74 6f 20 77 | 6f 72 64 20 63 6f 75 6e |" into w|ord coun|
|00002d30| 74 20 6f 66 20 6e 65 77 | 63 61 72 64 69 64 73 0d |t of new|cardids.|
|00002d40| 61 64 64 20 31 20 74 6f | 20 63 6f 75 6e 74 0d 65 |add 1 to| count.e|
|00002d50| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 72 65 |nd repea|t.end re|
|00002d60| 70 65 61 74 0d 65 6c 73 | 65 0d 61 6e 73 77 65 72 |peat.els|e.answer|
|00002d70| 20 22 45 72 72 6f 72 2e | 22 20 77 69 74 68 20 22 | "Error.|" with "|
|00002d80| 53 6f 72 72 79 22 0d 65 | 78 69 74 20 73 63 61 6e |Sorry".e|xit scan|
|00002d90| 63 64 73 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 66 |cds.end |if.put f|
|00002da0| 75 6c 6c 73 6f 72 74 28 | 6e 65 77 69 74 65 6d 6c |ullsort(|newiteml|
|00002db0| 69 73 74 2c 22 74 3d 55 | 22 29 20 69 6e 74 6f 20 |ist,"t=U|") into |
|00002dc0| 69 74 65 6d 6c 69 73 74 | 0d 70 75 74 20 66 75 6c |itemlist|.put ful|
|00002dd0| 6c 73 6f 72 74 28 6e 65 | 77 63 61 72 64 69 64 73 |lsort(ne|wcardids|
|00002de0| 2c 22 69 3d 73 70 61 63 | 65 22 2c 22 64 3d 6c 22 |,"i=spac|e","d=l"|
|00002df0| 29 20 69 6e 74 6f 20 63 | 61 72 64 69 64 73 0d 73 |) into c|ardids.s|
|00002e00| 65 74 70 72 6f 6d 70 74 | 6f 69 64 20 22 45 6c 69 |etprompt|oid "Eli|
|00002e10| 6d 69 6e 61 74 69 6e 67 | 20 64 75 70 6c 69 63 61 |minating| duplica|
|00002e20| 74 65 73 2e 2e 2e 22 0d | 62 75 69 6c 64 6d 65 6e |tes...".|buildmen|
|00002e30| 75 0d 70 75 74 20 6d 65 | 6e 75 6c 69 73 74 20 69 |u.put me|nulist i|
|00002e40| 6e 74 6f 20 73 63 61 6e | 6d 65 6e 75 0d 70 75 74 |nto scan|menu.put|
|00002e50| 20 6d 65 6e 75 63 61 72 | 64 69 64 73 20 69 6e 74 | menucar|dids int|
|00002e60| 6f 20 73 63 61 6e 63 61 | 72 64 69 64 73 0d 70 75 |o scanca|rdids.pu|
|00002e70| 74 20 6d 65 6e 75 6c 69 | 73 74 20 69 6e 74 6f 20 |t menuli|st into |
|00002e80| 63 64 20 66 6c 64 20 22 | 73 63 61 6e 6d 65 6e 75 |cd fld "|scanmenu|
|00002e90| 22 20 6f 66 20 63 61 72 | 64 20 22 6d 65 6e 75 22 |" of car|d "menu"|
|00002ea0| 0d 70 75 74 20 6d 65 6e | 75 63 61 72 64 69 64 73 |.put men|ucardids|
|00002eb0| 20 69 6e 74 6f 20 63 64 | 20 66 6c 64 20 22 73 63 | into cd| fld "sc|
|00002ec0| 61 6e 63 61 72 64 69 64 | 73 22 20 6f 66 20 63 61 |ancardid|s" of ca|
|00002ed0| 72 64 20 22 6d 65 6e 75 | 22 0d 65 6e 64 20 73 63 |rd "menu|".end sc|
|00002ee0| 61 6e 63 64 73 0d 0d 6f | 6e 20 73 6f 72 74 63 64 |ancds..o|n sortcd|
|00002ef0| 73 20 73 6f 72 74 74 79 | 70 65 0d 67 6c 6f 62 61 |s sortty|pe.globa|
|00002f00| 6c 20 69 74 65 6d 6c 69 | 73 74 2c 63 61 72 64 69 |l itemli|st,cardi|
|00002f10| 64 73 2c 6d 65 6e 75 6c | 69 73 74 2c 6d 65 6e 75 |ds,menul|ist,menu|
|00002f20| 63 61 72 64 69 64 73 2c | 73 6f 72 74 6d 65 6e 75 |cardids,|sortmenu|
|00002f30| 2c 73 6f 72 74 63 61 72 | 64 69 64 73 0d 69 66 6e |,sortcar|dids.ifn|
|00002f40| 6f 63 61 72 64 73 0d 6c | 6f 63 6b 69 74 0d 70 72 |ocards.l|ockit.pr|
|00002f50| 6f 6d 70 74 6f 69 64 20 | 22 20 20 20 20 20 20 20 |omptoid |" |
|00002f60| 20 20 53 6f 72 74 69 6e | 67 20 62 79 20 22 26 73 | Sortin|g by "&s|
|00002f70| 6f 72 74 74 79 70 65 26 | 22 2e 2e 2e 20 20 20 20 |orttype&|"... |
|00002f80| 20 20 20 20 20 22 0d 70 | 75 74 20 65 6d 70 74 79 | ".p|ut empty|
|00002f90| 20 69 6e 74 6f 20 6d 65 | 6e 75 6c 69 73 74 0d 70 | into me|nulist.p|
|00002fa0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 6d 65 |ut empty| into me|
|00002fb0| 6e 75 63 61 72 64 69 64 | 73 0d 65 6d 70 74 79 6d |nucardid|s.emptym|
|00002fc0| 65 6e 75 66 6c 64 73 0d | 69 66 20 73 6f 72 74 74 |enuflds.|if sortt|
|00002fd0| 79 70 65 20 3d 20 22 46 | 69 72 73 74 20 41 75 74 |ype = "F|irst Aut|
|00002fe0| 68 6f 72 22 20 74 68 65 | 6e 0d 73 6f 72 74 20 62 |hor" the|n.sort b|
|00002ff0| 79 20 69 74 65 6d 20 31 | 20 6f 66 20 66 6c 64 20 |y item 1| of fld |
|00003000| 22 61 75 74 68 6f 72 73 | 22 26 26 69 74 65 6d 20 |"authors|"&&item |
|00003010| 31 20 6f 66 20 66 6c 64 | 20 22 6a 6f 75 72 6e 61 |1 of fld| "journa|
|00003020| 6c 22 26 26 20 66 6c 64 | 20 22 63 69 74 61 74 69 |l"&& fld| "citati|
|00003030| 6f 6e 22 0d 73 65 74 70 | 72 6f 6d 70 74 6f 69 64 |on".setp|romptoid|
|00003040| 20 22 42 75 69 6c 64 69 | 6e 67 20 6d 65 6e 75 2e | "Buildi|ng menu.|
|00003050| 2e 2e 22 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |..".repe|at with |
|00003060| 69 20 3d 20 32 20 74 6f | 20 74 68 65 20 6e 75 6d |i = 2 to| the num|
|00003070| 62 65 72 20 6f 66 20 63 | 64 73 0d 70 75 74 20 77 |ber of c|ds.put w|
|00003080| 6f 72 64 20 31 20 74 6f | 20 35 20 6f 66 20 69 74 |ord 1 to| 5 of it|
|00003090| 65 6d 20 31 20 6f 66 20 | 66 6c 64 20 22 61 75 74 |em 1 of |fld "aut|
|000030a0| 68 6f 72 73 22 20 6f 66 | 20 63 64 20 69 20 69 6e |hors" of| cd i in|
|000030b0| 74 6f c2 0d 6c 69 6e 65 | 20 69 2d 31 20 6f 66 20 |to..line| i-1 of |
|000030c0| 6e 65 77 69 74 65 6d 6c | 69 73 74 0d 70 75 74 20 |newiteml|ist.put |
|000030d0| 28 77 6f 72 64 20 33 20 | 6f 66 20 74 68 65 20 73 |(word 3 |of the s|
|000030e0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 63 64 20 |hort nam|e of cd |
|000030f0| 69 29 26 22 20 22 20 61 | 66 74 65 72 20 6e 65 77 |i)&" " a|fter new|
|00003100| 63 61 72 64 69 64 73 0d | 65 6e 64 20 72 65 70 65 |cardids.|end repe|
|00003110| 61 74 0d 65 6c 73 65 20 | 69 66 20 73 6f 72 74 74 |at.else |if sortt|
|00003120| 79 70 65 20 3d 20 22 53 | 6f 75 72 63 65 22 20 74 |ype = "S|ource" t|
|00003130| 68 65 6e 0d 73 6f 72 74 | 20 62 79 20 69 74 65 6d |hen.sort| by item|
|00003140| 20 31 20 6f 66 20 66 6c | 64 20 22 6a 6f 75 72 6e | 1 of fl|d "journ|
|00003150| 61 6c 22 26 26 66 6c 64 | 20 22 63 69 74 61 74 69 |al"&&fld| "citati|
|00003160| 6f 6e 22 0d 73 65 74 70 | 72 6f 6d 70 74 6f 69 64 |on".setp|romptoid|
|00003170| 20 22 42 75 69 6c 64 69 | 6e 67 20 6d 65 6e 75 2e | "Buildi|ng menu.|
|00003180| 2e 2e 22 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |..".repe|at with |
|00003190| 69 20 3d 20 32 20 74 6f | 20 74 68 65 20 6e 75 6d |i = 2 to| the num|
|000031a0| 62 65 72 20 6f 66 20 63 | 64 73 0d 70 75 74 20 69 |ber of c|ds.put i|
|000031b0| 74 65 6d 20 31 20 6f 66 | 20 66 6c 64 20 22 6a 6f |tem 1 of| fld "jo|
|000031c0| 75 72 6e 61 6c 22 20 6f | 66 20 63 64 20 69 20 69 |urnal" o|f cd i i|
|000031d0| 6e 74 6f 20 6c 69 6e 65 | 20 69 2d 31 20 6f 66 20 |nto line| i-1 of |
|000031e0| 6e 65 77 69 74 65 6d 6c | 69 73 74 0d 70 75 74 20 |newiteml|ist.put |
|000031f0| 28 77 6f 72 64 20 33 20 | 6f 66 20 74 68 65 20 73 |(word 3 |of the s|
|00003200| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 63 64 20 |hort nam|e of cd |
|00003210| 69 29 26 22 20 22 20 61 | 66 74 65 72 20 6e 65 77 |i)&" " a|fter new|
|00003220| 63 61 72 64 69 64 73 0d | 65 6e 64 20 72 65 70 65 |cardids.|end repe|
|00003230| 61 74 0d 65 6c 73 65 20 | 69 66 20 73 6f 72 74 74 |at.else |if sortt|
|00003240| 79 70 65 20 3d 20 22 55 | 73 65 72 46 69 65 6c 64 |ype = "U|serField|
|00003250| 22 20 74 68 65 6e 0d 73 | 6f 72 74 20 62 79 20 69 |" then.s|ort by i|
|00003260| 74 65 6d 20 31 20 6f 66 | 20 66 6c 64 20 22 75 73 |tem 1 of| fld "us|
|00003270| 65 72 66 69 65 6c 64 22 | 26 26 66 6c 64 20 22 61 |erfield"|&&fld "a|
|00003280| 75 74 68 6f 72 73 22 0d | 73 65 74 70 72 6f 6d 70 |uthors".|setpromp|
|00003290| 74 6f 69 64 20 22 42 75 | 69 6c 64 69 6e 67 20 6d |toid "Bu|ilding m|
|000032a0| 65 6e 75 2e 2e 2e 22 0d | 72 65 70 65 61 74 20 77 |enu...".|repeat w|
|000032b0| 69 74 68 20 69 20 3d 20 | 32 20 74 6f 20 74 68 65 |ith i = |2 to the|
|000032c0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 73 0d 70 | number |of cds.p|
|000032d0| 75 74 20 69 74 65 6d 20 | 31 20 6f 66 20 66 6c 64 |ut item |1 of fld|
|000032e0| 20 22 75 73 65 72 66 69 | 65 6c 64 22 20 6f 66 20 | "userfi|eld" of |
|000032f0| 63 64 20 69 20 69 6e 74 | 6f 20 6c 69 6e 65 20 69 |cd i int|o line i|
|00003300| 2d 31 20 6f 66 20 6e 65 | 77 69 74 65 6d 6c 69 73 |-1 of ne|witemlis|
|00003310| 74 0d 70 75 74 20 28 77 | 6f 72 64 20 33 20 6f 66 |t.put (w|ord 3 of|
|00003320| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00003330| 6f 66 20 63 64 20 69 29 | 26 22 20 22 20 61 66 74 |of cd i)|&" " aft|
|00003340| 65 72 20 6e 65 77 63 61 | 72 64 69 64 73 0d 65 6e |er newca|rdids.en|
|00003350| 64 20 72 65 70 65 61 74 | 0d 65 6c 73 65 20 69 66 |d repeat|.else if|
|00003360| 20 73 6f 72 74 74 79 70 | 65 20 3d 20 22 59 65 61 | sorttyp|e = "Yea|
|00003370| 72 22 20 74 68 65 6e 0d | 73 6f 72 74 20 62 79 20 |r" then.|sort by |
|00003380| 63 68 61 72 20 31 20 74 | 6f 20 34 20 6f 66 20 66 |char 1 t|o 4 of f|
|00003390| 6c 64 20 22 63 69 74 61 | 74 69 6f 6e 22 26 26 66 |ld "cita|tion"&&f|
|000033a0| 6c 64 20 22 6a 6f 75 72 | 6e 61 6c 22 26 26 66 6c |ld "jour|nal"&&fl|
|000033b0| 64 20 22 63 69 74 61 74 | 69 6f 6e 22 0d 73 65 74 |d "citat|ion".set|
|000033c0| 70 72 6f 6d 70 74 6f 69 | 64 20 22 42 75 69 6c 64 |promptoi|d "Build|
|000033d0| 69 6e 67 20 6d 65 6e 75 | 2e 2e 2e 22 0d 72 65 70 |ing menu|...".rep|
|000033e0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 32 20 74 |eat with| i = 2 t|
|000033f0| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00003400| 63 64 73 0d 70 75 74 20 | 63 68 61 72 20 31 20 74 |cds.put |char 1 t|
|00003410| 6f 20 34 20 6f 66 20 66 | 6c 64 20 22 63 69 74 61 |o 4 of f|ld "cita|
|00003420| 74 69 6f 6e 22 20 6f 66 | 20 63 64 20 69 20 69 6e |tion" of| cd i in|
|00003430| 74 6f 20 6c 69 6e 65 20 | 69 2d 31 20 6f 66 20 6e |to line |i-1 of n|
|00003440| 65 77 69 74 65 6d 6c 69 | 73 74 0d 70 75 74 20 28 |ewitemli|st.put (|
|00003450| 77 6f 72 64 20 33 20 6f | 66 20 74 68 65 20 73 68 |word 3 o|f the sh|
|00003460| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 63 64 20 69 |ort name| of cd i|
|00003470| 29 26 22 20 22 20 61 66 | 74 65 72 20 6e 65 77 63 |)&" " af|ter newc|
|00003480| 61 72 64 69 64 73 0d 65 | 6e 64 20 72 65 70 65 61 |ardids.e|nd repea|
|00003490| 74 0d 65 6c 73 65 0d 61 | 6e 73 77 65 72 20 22 45 |t.else.a|nswer "E|
|000034a0| 72 72 6f 72 21 21 21 22 | 20 20 77 69 74 68 20 22 |rror!!!"| with "|
|000034b0| 53 6f 72 72 79 22 0d 65 | 78 69 74 20 73 6f 72 74 |Sorry".e|xit sort|
|000034c0| 63 64 73 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 66 |cds.end |if.put f|
|000034d0| 75 6c 6c 73 6f 72 74 28 | 6e 65 77 69 74 65 6d 6c |ullsort(|newiteml|
|000034e0| 69 73 74 2c 22 74 3d 55 | 22 29 20 69 6e 74 6f 20 |ist,"t=U|") into |
|000034f0| 69 74 65 6d 6c 69 73 74 | 0d 70 75 74 20 66 75 6c |itemlist|.put ful|
|00003500| 6c 73 6f 72 74 28 6e 65 | 77 63 61 72 64 69 64 73 |lsort(ne|wcardids|
|00003510| 2c 22 69 3d 73 70 61 63 | 65 22 2c 22 64 3d 6c 22 |,"i=spac|e","d=l"|
|00003520| 29 20 69 6e 74 6f 20 63 | 61 72 64 69 64 73 0d 73 |) into c|ardids.s|
|00003530| 65 74 70 72 6f 6d 70 74 | 6f 69 64 20 22 45 6c 69 |etprompt|oid "Eli|
|00003540| 6d 69 6e 61 74 69 6e 67 | 20 64 75 70 6c 69 63 61 |minating| duplica|
|00003550| 74 65 73 2e 2e 2e 22 0d | 62 75 69 6c 64 6d 65 6e |tes...".|buildmen|
|00003560| 75 0d 70 75 74 20 6d 65 | 6e 75 6c 69 73 74 20 69 |u.put me|nulist i|
|00003570| 6e 74 6f 20 73 6f 72 74 | 6d 65 6e 75 0d 70 75 74 |nto sort|menu.put|
|00003580| 20 6d 65 6e 75 63 61 72 | 64 69 64 73 20 69 6e 74 | menucar|dids int|
|00003590| 6f 20 73 6f 72 74 63 61 | 72 64 69 64 73 0d 70 75 |o sortca|rdids.pu|
|000035a0| 74 20 6d 65 6e 75 6c 69 | 73 74 20 69 6e 74 6f 20 |t menuli|st into |
|000035b0| 63 64 20 66 6c 64 20 22 | 73 6f 72 74 6d 65 6e 75 |cd fld "|sortmenu|
|000035c0| 22 20 6f 66 20 63 61 72 | 64 20 22 6d 65 6e 75 22 |" of car|d "menu"|
|000035d0| 0d 70 75 74 20 6d 65 6e | 75 63 61 72 64 69 64 73 |.put men|ucardids|
|000035e0| 20 69 6e 74 6f 20 63 64 | 20 66 6c 64 20 22 73 6f | into cd| fld "so|
|000035f0| 72 74 63 61 72 64 69 64 | 73 22 20 6f 66 20 63 61 |rtcardid|s" of ca|
|00003600| 72 64 20 22 6d 65 6e 75 | 22 0d 65 6e 64 20 73 6f |rd "menu|".end so|
|00003610| 72 74 63 64 73 0d 0d 6f | 6e 20 66 69 6e 64 6d 61 |rtcds..o|n findma|
|00003620| 72 6b 20 73 65 61 72 63 | 68 66 6c 64 0d 67 6c 6f |rk searc|hfld.glo|
|00003630| 62 61 6c 20 65 72 72 6f | 72 73 6f 75 72 63 65 0d |bal erro|rsource.|
|00003640| 70 75 74 20 22 66 69 6e | 64 6d 61 72 6b 22 20 69 |put "fin|dmark" i|
|00003650| 6e 74 6f 20 65 72 72 6f | 72 73 6f 75 72 63 65 0d |nto erro|rsource.|
|00003660| 70 75 74 20 77 6f 72 64 | 20 31 20 6f 66 20 73 65 |put word| 1 of se|
|00003670| 61 72 63 68 66 6c 64 20 | 69 6e 74 6f 20 6d 61 72 |archfld |into mar|
|00003680| 6b 74 79 70 65 0d 64 65 | 6c 65 74 65 20 77 6f 72 |ktype.de|lete wor|
|00003690| 64 20 31 20 6f 66 20 73 | 65 61 72 63 68 66 6c 64 |d 1 of s|earchfld|
|000036a0| 0d 69 66 6e 6f 63 61 72 | 64 73 0d 69 66 20 73 65 |.ifnocar|ds.if se|
|000036b0| 61 72 63 68 66 6c 64 20 | 3d 20 65 6d 70 74 79 20 |archfld |= empty |
|000036c0| 74 68 65 6e 0d 65 78 69 | 74 20 74 6f 20 68 79 70 |then.exi|t to hyp|
|000036d0| 65 72 63 61 72 64 0d 65 | 6c 73 65 20 69 66 20 73 |ercard.e|lse if s|
|000036e0| 65 61 72 63 68 66 6c 64 | 20 3d 20 22 53 70 65 63 |earchfld| = "Spec|
|000036f0| 69 61 6c 22 20 74 68 65 | 6e 0d 61 73 6b 20 22 46 |ial" the|n.ask "F|
|00003700| 69 65 6c 64 20 73 70 65 | 63 69 66 69 63 61 74 69 |ield spe|cificati|
|00003710| 6f 6e 22 20 77 69 74 68 | 20 22 63 68 61 72 20 31 |on" with| "char 1|
|00003720| 20 74 6f 20 34 20 6f 66 | 20 66 69 65 6c 64 22 26 | to 4 of| field"&|
|00003730| 26 71 75 6f 74 65 26 c2 | 0d 22 63 69 74 61 74 69 |&quote&.|."citati|
|00003740| 6f 6e 22 26 71 75 6f 74 | 65 0d 70 75 74 20 69 74 |on"&quot|e.put it|
|00003750| 20 69 6e 74 6f 20 73 65 | 61 72 63 68 63 68 75 6e | into se|archchun|
|00003760| 6b 0d 73 65 74 20 6c 6f | 63 6b 65 72 72 6f 72 64 |k.set lo|ckerrord|
|00003770| 69 61 6c 6f 67 73 20 74 | 6f 20 74 72 75 65 0d 64 |ialogs t|o true.d|
|00003780| 6f 20 22 67 65 74 22 26 | 26 73 65 61 72 63 68 63 |o "get"&|&searchc|
|00003790| 68 75 6e 6b 0d 73 65 74 | 20 6c 6f 63 6b 65 72 72 |hunk.set| lockerr|
|000037a0| 6f 72 64 69 61 6c 6f 67 | 73 20 74 6f 20 66 61 6c |ordialog|s to fal|
|000037b0| 73 65 0d 65 6e 64 20 69 | 66 0d 61 73 6b 20 22 45 |se.end i|f.ask "E|
|000037c0| 6e 74 65 72 20 6b 65 79 | 77 6f 72 64 73 2e 2e 2e |nter key|words...|
|000037d0| 22 0d 69 66 20 69 74 20 | 69 73 20 65 6d 70 74 79 |".if it |is empty|
|000037e0| 20 74 68 65 6e 20 65 78 | 69 74 20 66 69 6e 64 6d | then ex|it findm|
|000037f0| 61 72 6b 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |ark.put |it into |
|00003800| 73 65 61 72 63 68 6c 69 | 73 74 0d 6c 6f 63 6b 69 |searchli|st.locki|
|00003810| 74 0d 70 72 6f 6d 70 74 | 6f 69 64 20 22 20 20 20 |t.prompt|oid " |
|00003820| 20 20 20 20 20 20 20 20 | 20 53 65 61 72 63 68 69 | | Searchi|
|00003830| 6e 67 2e 2e 2e 20 20 20 | 20 20 20 20 20 20 20 20 |ng... | |
|00003840| 20 22 0d 70 75 74 20 74 | 68 65 20 6e 75 6d 62 65 | ".put t|he numbe|
|00003850| 72 20 6f 66 20 6d 61 72 | 6b 65 64 20 63 64 73 20 |r of mar|ked cds |
|00003860| 69 6e 74 6f 20 70 72 65 | 76 6e 75 6d 0d 69 66 20 |into pre|vnum.if |
|00003870| 6d 61 72 6b 74 79 70 65 | 20 74 68 65 6e 0d 69 66 |marktype| then.if|
|00003880| 20 73 65 61 72 63 68 66 | 6c 64 20 3d 20 22 41 6c | searchf|ld = "Al|
|00003890| 6c 20 46 69 65 6c 64 73 | 22 20 74 68 65 6e 0d 6d |l Fields|" then.m|
|000038a0| 61 72 6b 20 63 64 73 20 | 62 79 20 66 69 6e 64 69 |ark cds |by findi|
|000038b0| 6e 67 20 73 65 61 72 63 | 68 6c 69 73 74 0d 65 6c |ng searc|hlist.el|
|000038c0| 73 65 20 69 66 20 73 65 | 61 72 63 68 66 6c 64 20 |se if se|archfld |
|000038d0| 3d 20 22 53 70 65 63 69 | 61 6c 22 20 74 68 65 6e |= "Speci|al" then|
|000038e0| 0d 64 6f 20 22 6d 61 72 | 6b 20 63 61 72 64 73 20 |.do "mar|k cards |
|000038f0| 77 68 65 72 65 20 73 65 | 61 72 63 68 6c 69 73 74 |where se|archlist|
|00003900| 20 69 73 20 69 6e 22 26 | 26 73 65 61 72 63 68 63 | is in"&|&searchc|
|00003910| 68 75 6e 6b 0d 65 6c 73 | 65 20 6d 61 72 6b 20 63 |hunk.els|e mark c|
|00003920| 64 73 20 62 79 20 66 69 | 6e 64 69 6e 67 20 73 65 |ds by fi|nding se|
|00003930| 61 72 63 68 6c 69 73 74 | 20 69 6e 20 66 6c 64 20 |archlist| in fld |
|00003940| 73 65 61 72 63 68 66 6c | 64 0d 70 75 74 20 74 68 |searchfl|d.put th|
|00003950| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6d 61 72 6b |e number| of mark|
|00003960| 65 64 20 63 64 73 20 2d | 20 70 72 65 76 6e 75 6d |ed cds -| prevnum|
|00003970| 20 69 6e 74 6f 20 63 6f | 75 6e 74 0d 61 6e 73 77 | into co|unt.answ|
|00003980| 65 72 20 22 4d 61 72 6b | 65 64 22 26 26 63 6f 75 |er "Mark|ed"&&cou|
|00003990| 6e 74 26 26 22 63 61 72 | 64 73 2e 22 0d 65 6c 73 |nt&&"car|ds.".els|
|000039a0| 65 0d 69 66 20 73 65 61 | 72 63 68 66 6c 64 20 3d |e.if sea|rchfld =|
|000039b0| 20 22 41 6c 6c 20 46 69 | 65 6c 64 73 22 20 74 68 | "All Fi|elds" th|
|000039c0| 65 6e 0d 75 6e 6d 61 72 | 6b 20 63 64 73 20 62 79 |en.unmar|k cds by|
|000039d0| 20 66 69 6e 64 69 6e 67 | 20 73 65 61 72 63 68 6c | finding| searchl|
|000039e0| 69 73 74 0d 65 6c 73 65 | 20 69 66 20 73 65 61 72 |ist.else| if sear|
|000039f0| 63 68 66 6c 64 20 3d 20 | 22 53 70 65 63 69 61 6c |chfld = |"Special|
|00003a00| 22 20 74 68 65 6e 0d 64 | 6f 20 22 75 6e 6d 61 72 |" then.d|o "unmar|
|00003a10| 6b 20 63 61 72 64 73 20 | 77 68 65 72 65 20 73 65 |k cards |where se|
|00003a20| 61 72 63 68 6c 69 73 74 | 20 69 73 20 69 6e 22 26 |archlist| is in"&|
|00003a30| 26 73 65 61 72 63 68 63 | 68 75 6e 6b 0d 65 6c 73 |&searchc|hunk.els|
|00003a40| 65 20 75 6e 6d 61 72 6b | 20 63 64 73 20 62 79 20 |e unmark| cds by |
|00003a50| 66 69 6e 64 69 6e 67 20 | 73 65 61 72 63 68 6c 69 |finding |searchli|
|00003a60| 73 74 20 69 6e 20 66 6c | 64 20 73 65 61 72 63 68 |st in fl|d search|
|00003a70| 66 6c 64 0d 70 75 74 20 | 70 72 65 76 6e 75 6d 20 |fld.put |prevnum |
|00003a80| 2d 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |- the nu|mber of |
|00003a90| 6d 61 72 6b 65 64 20 63 | 64 73 20 69 6e 74 6f 20 |marked c|ds into |
|00003aa0| 63 6f 75 6e 74 0d 61 6e | 73 77 65 72 20 22 55 6e |count.an|swer "Un|
|00003ab0| 6d 61 72 6b 65 64 22 26 | 26 63 6f 75 6e 74 26 26 |marked"&|&count&&|
|00003ac0| 22 63 61 72 64 73 2e 2e | 2e 22 0d 65 6e 64 20 69 |"cards..|.".end i|
|00003ad0| 66 0d 65 6e 64 20 66 69 | 6e 64 6d 61 72 6b 0d 0d |f.end fi|ndmark..|
|00003ae0| 6f 6e 20 6d 65 6e 75 6d | 61 72 6b 20 6d 74 79 70 |on menum|ark mtyp|
|00003af0| 65 0d 67 6c 6f 62 61 6c | 20 73 6f 72 74 6d 65 6e |e.global| sortmen|
|00003b00| 75 2c 73 6f 72 74 63 61 | 72 64 69 64 73 2c 73 63 |u,sortca|rdids,sc|
|00003b10| 61 6e 6d 65 6e 75 2c 73 | 63 61 6e 63 61 72 64 69 |anmenu,s|cancardi|
|00003b20| 64 73 0d 69 66 6e 6f 63 | 61 72 64 73 0d 70 75 74 |ds.ifnoc|ards.put|
|00003b30| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 63 61 72 64 | empty i|nto card|
|00003b40| 6c 69 73 74 0d 69 66 20 | 6d 74 79 70 65 20 3d 20 |list.if |mtype = |
|00003b50| 22 53 6f 72 74 4d 65 6e | 75 22 20 74 68 65 6e 0d |"SortMen|u" then.|
|00003b60| 69 66 20 73 6f 72 74 6d | 65 6e 75 20 69 73 20 65 |if sortm|enu is e|
|00003b70| 6d 70 74 79 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |mpty the|n.answer|
|00003b80| 20 22 54 68 65 20 73 6f | 72 74 20 6d 65 6e 75 20 | "The so|rt menu |
|00003b90| 69 73 20 65 6d 70 74 79 | 2e 20 59 6f 75 20 6d 75 |is empty|. You mu|
|00003ba0| 73 74 20 73 6f 72 74 20 | 74 68 65 20 73 74 61 63 |st sort |the stac|
|00003bb0| 6b 20 66 69 72 73 74 2e | 22 0d 65 6c 73 65 0d 70 |k first.|".else.p|
|00003bc0| 75 74 20 4c 69 73 74 53 | 65 6c 65 63 74 28 22 44 |ut ListS|elect("D|
|00003bd0| 69 73 23 22 2c 73 6f 72 | 74 6d 65 6e 75 2c 22 53 |is#",sor|tmenu,"S|
|00003be0| 65 6c 65 63 74 20 69 74 | 65 6d 73 20 74 6f 20 6d |elect it|ems to m|
|00003bf0| 61 72 6b 2e 2e 2e 22 26 | c2 0d 72 65 74 75 72 6e |ark..."&|..return|
|00003c00| 26 22 53 68 69 66 74 20 | 3d 20 6d 75 6c 74 69 70 |&"Shift |= multip|
|00003c10| 6c 65 20 20 43 6d 64 20 | 3d 20 64 69 73 63 6f 6e |le Cmd |= discon|
|00003c20| 74 22 2c c2 0d 22 31 35 | 30 2c 31 30 2c 33 35 30 |t",.."15|0,10,350|
|00003c30| 2c 33 31 30 22 2c 22 47 | 65 6e 65 76 61 2c 39 22 |,310","G|eneva,9"|
|00003c40| 29 20 69 6e 74 6f 20 6d | 61 72 6b 6c 69 73 74 0d |) into m|arklist.|
|00003c50| 69 66 20 6d 61 72 6b 6c | 69 73 74 3c 3e 65 6d 70 |if markl|ist<>emp|
|00003c60| 74 79 20 74 68 65 6e 0d | 72 65 70 65 61 74 20 77 |ty then.|repeat w|
|00003c70| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 74 68 65 |ith i = |1 to the|
|00003c80| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00003c90| 20 69 6e 20 6d 61 72 6b | 6c 69 73 74 0d 70 75 74 | in mark|list.put|
|00003ca0| 20 22 20 22 26 6c 69 6e | 65 20 28 6c 69 6e 65 20 | " "&lin|e (line |
|00003cb0| 69 20 6f 66 20 6d 61 72 | 6b 6c 69 73 74 29 20 6f |i of mar|klist) o|
|00003cc0| 66 20 73 6f 72 74 63 61 | 72 64 69 64 73 20 61 66 |f sortca|rdids af|
|00003cd0| 74 65 72 20 63 61 72 64 | 6c 69 73 74 0d 65 6e 64 |ter card|list.end|
|00003ce0| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 65 | repeat.|end if.e|
|00003cf0| 6e 64 20 69 66 0d 65 6c | 73 65 0d 69 66 20 73 63 |nd if.el|se.if sc|
|00003d00| 61 6e 6d 65 6e 75 20 69 | 73 20 65 6d 70 74 79 20 |anmenu i|s empty |
|00003d10| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 54 68 65 |then.ans|wer "The|
|00003d20| 20 73 63 61 6e 20 6d 65 | 6e 75 20 69 73 20 65 6d | scan me|nu is em|
|00003d30| 70 74 79 2e 20 59 6f 75 | 20 6d 75 73 74 20 73 63 |pty. You| must sc|
|00003d40| 61 6e 20 74 68 65 20 73 | 74 61 63 6b 20 66 69 72 |an the s|tack fir|
|00003d50| 73 74 2e 22 0d 65 6c 73 | 65 0d 70 75 74 20 4c 69 |st.".els|e.put Li|
|00003d60| 73 74 53 65 6c 65 63 74 | 28 22 44 69 73 23 22 2c |stSelect|("Dis#",|
|00003d70| 73 63 61 6e 6d 65 6e 75 | 2c 22 53 65 6c 65 63 74 |scanmenu|,"Select|
|00003d80| 20 69 74 65 6d 73 20 74 | 6f 20 6d 61 72 6b 2e 2e | items t|o mark..|
|00003d90| 2e 22 26 c2 0d 72 65 74 | 75 72 6e 26 22 53 68 69 |."&..ret|urn&"Shi|
|00003da0| 66 74 20 3d 20 6d 75 6c | 74 69 70 6c 65 20 20 43 |ft = mul|tiple C|
|00003db0| 6d 64 20 3d 20 64 69 73 | 63 6f 6e 74 22 2c c2 0d |md = dis|cont",..|
|00003dc0| 22 31 35 30 2c 31 30 2c | 33 35 30 2c 33 31 30 22 |"150,10,|350,310"|
|00003dd0| 2c 22 47 65 6e 65 76 61 | 2c 39 22 29 20 69 6e 74 |,"Geneva|,9") int|
|00003de0| 6f 20 6d 61 72 6b 6c 69 | 73 74 0d 69 66 20 6d 61 |o markli|st.if ma|
|00003df0| 72 6b 6c 69 73 74 3c 3e | 65 6d 70 74 79 20 74 68 |rklist<>|empty th|
|00003e00| 65 6e 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |en.repea|t with i|
|00003e10| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00003e20| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 69 6e 20 6d |er of li|nes in m|
|00003e30| 61 72 6b 6c 69 73 74 0d | 70 75 74 20 22 20 22 26 |arklist.|put " "&|
|00003e40| 6c 69 6e 65 20 28 6c 69 | 6e 65 20 69 20 6f 66 20 |line (li|ne i of |
|00003e50| 6d 61 72 6b 6c 69 73 74 | 29 20 6f 66 20 73 63 61 |marklist|) of sca|
|00003e60| 6e 63 61 72 64 69 64 73 | 20 61 66 74 65 72 20 63 |ncardids| after c|
|00003e70| 61 72 64 6c 69 73 74 0d | 65 6e 64 20 72 65 70 65 |ardlist.|end repe|
|00003e80| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |at.end i|f.end if|
|00003e90| 0d 65 6e 64 20 69 66 0d | 69 66 20 63 61 72 64 6c |.end if.|if cardl|
|00003ea0| 69 73 74 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ist is n|ot empty|
|00003eb0| 20 74 68 65 6e 0d 70 75 | 73 68 20 63 61 72 64 0d | then.pu|sh card.|
|00003ec0| 6c 6f 63 6b 69 74 0d 64 | 65 6c 65 74 65 20 63 68 |lockit.d|elete ch|
|00003ed0| 61 72 20 31 20 6f 66 20 | 63 61 72 64 6c 69 73 74 |ar 1 of |cardlist|
|00003ee0| 0d 70 75 74 20 66 75 6c | 6c 73 6f 72 74 28 63 61 |.put ful|lsort(ca|
|00003ef0| 72 64 6c 69 73 74 29 20 | 69 6e 74 6f 20 63 61 72 |rdlist) |into car|
|00003f00| 64 6c 69 73 74 0d 70 75 | 74 20 73 74 72 69 70 64 |dlist.pu|t stripd|
|00003f10| 75 70 28 63 61 72 64 6c | 69 73 74 29 20 69 6e 74 |up(cardl|ist) int|
|00003f20| 6f 20 63 61 72 64 6c 69 | 73 74 0d 70 72 6f 6d 70 |o cardli|st.promp|
|00003f30| 74 6f 69 64 20 22 20 20 | 20 20 20 4d 61 72 6b 69 |toid " | Marki|
|00003f40| 6e 67 22 26 26 74 68 65 | 20 6e 75 6d 62 65 72 20 |ng"&&the| number |
|00003f50| 6f 66 20 77 6f 72 64 73 | 20 69 6e 20 63 61 72 64 |of words| in card|
|00003f60| 6c 69 73 74 26 26 22 43 | 61 72 64 73 2e 2e 2e 20 |list&&"C|ards... |
|00003f70| 20 20 20 20 22 0d 72 65 | 70 65 61 74 20 77 69 74 | ".re|peat wit|
|00003f80| 68 20 69 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h i = 1 |to the n|
|00003f90| 75 6d 62 65 72 20 6f 66 | 20 77 6f 72 64 73 20 69 |umber of| words i|
|00003fa0| 6e 20 63 61 72 64 6c 69 | 73 74 0d 67 6f 20 74 6f |n cardli|st.go to|
|00003fb0| 20 63 64 20 69 64 20 77 | 6f 72 64 20 69 20 6f 66 | cd id w|ord i of|
|00003fc0| 20 63 61 72 64 6c 69 73 | 74 0d 69 66 20 74 68 65 | cardlis|t.if the|
|00003fd0| 20 6c 61 73 74 20 77 6f | 72 64 20 6f 66 20 74 68 | last wo|rd of th|
|00003fe0| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00003ff0| 74 68 69 73 20 63 64 20 | 3d 20 77 6f 72 64 20 69 |this cd |= word i|
|00004000| 20 6f 66 20 c2 0d 63 61 | 72 64 6c 69 73 74 20 74 | of ..ca|rdlist t|
|00004010| 68 65 6e 0d 6d 61 72 6b | 20 74 68 69 73 20 63 64 |hen.mark| this cd|
|00004020| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00004030| 61 74 0d 70 6f 70 20 63 | 61 72 64 0d 65 6e 64 20 |at.pop c|ard.end |
|00004040| 69 66 0d 65 6e 64 20 6d | 65 6e 75 6d 61 72 6b 0d |if.end m|enumark.|
|00004050| 0d 6f 6e 20 73 74 6f 72 | 65 73 65 74 0d 69 66 6e |.on stor|eset.ifn|
|00004060| 6f 6d 61 72 6b 65 64 63 | 61 72 64 73 0d 61 73 6b |omarkedc|ards.ask|
|00004070| 20 22 4e 61 6d 65 20 66 | 6f 72 20 6d 61 72 6b 65 | "Name f|or marke|
|00004080| 64 20 6c 69 73 74 3f 22 | 0d 69 66 20 69 74 20 3d |d list?"|.if it =|
|00004090| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|000040a0| 20 74 6f 20 68 79 70 65 | 72 63 61 72 64 0d 70 75 | to hype|rcard.pu|
|000040b0| 74 20 69 74 26 22 2c 22 | 20 69 6e 74 6f 20 74 65 |t it&","| into te|
|000040c0| 6d 70 6c 69 73 74 0d 70 | 72 6f 6d 70 74 6f 69 64 |mplist.p|romptoid|
|000040d0| 20 22 20 20 20 20 20 53 | 74 6f 72 69 6e 67 20 4d | " S|toring M|
|000040e0| 61 72 6b 73 2e 2e 2e 20 | 20 20 20 20 22 0d 70 75 |arks... | ".pu|
|000040f0| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|00004100| 6d 61 72 6b 65 64 20 63 | 64 73 20 69 6e 74 6f 20 |marked c|ds into |
|00004110| 6e 75 6d 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |num.set |cursor t|
|00004120| 6f 20 77 61 74 63 68 0d | 72 65 70 65 61 74 20 77 |o watch.|repeat w|
|00004130| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 75 6d |ith i = |1 to num|
|00004140| 0d 70 75 74 20 22 20 22 | 26 26 77 6f 72 64 20 33 |.put " "|&&word 3|
|00004150| 20 6f 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 | of the |short na|
|00004160| 6d 65 20 6f 66 20 6d 61 | 72 6b 65 64 20 63 64 20 |me of ma|rked cd |
|00004170| 69 20 61 66 74 65 72 20 | 74 65 6d 70 6c 69 73 74 |i after |templist|
|00004180| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 75 74 20 |.end rep|eat.put |
|00004190| 28 63 64 20 66 6c 64 20 | 22 73 74 6f 72 65 6d 61 |(cd fld |"storema|
|000041a0| 72 6b 73 22 20 6f 66 20 | 63 61 72 64 20 22 6d 65 |rks" of |card "me|
|000041b0| 6e 75 22 29 20 26 72 65 | 74 75 72 6e 26 74 65 6d |nu") &re|turn&tem|
|000041c0| 70 6c 69 73 74 20 69 6e | 74 6f 20 74 65 6d 70 0d |plist in|to temp.|
|000041d0| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|000041e0| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|000041f0| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 74 65 6d 70 |of lines| in temp|
|00004200| 0d 69 66 20 6c 69 6e 65 | 20 69 20 6f 66 20 74 65 |.if line| i of te|
|00004210| 6d 70 20 3d 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |mp = emp|ty then |
|00004220| 20 64 65 6c 65 74 65 20 | 6c 69 6e 65 20 31 20 6f | delete |line 1 o|
|00004230| 66 20 74 65 6d 70 0d 65 | 6e 64 20 72 65 70 65 61 |f temp.e|nd repea|
|00004240| 74 0d 70 75 74 20 74 65 | 6d 70 20 69 6e 74 6f 20 |t.put te|mp into |
|00004250| 63 64 20 66 69 65 6c 64 | 20 22 73 74 6f 72 65 6d |cd field| "storem|
|00004260| 61 72 6b 73 22 20 6f 66 | 20 63 61 72 64 20 22 6d |arks" of| card "m|
|00004270| 65 6e 75 22 0d 65 6e 64 | 20 73 74 6f 72 65 73 65 |enu".end| storese|
|00004280| 74 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 67 65 74 73 |t..funct|ion gets|
|00004290| 65 74 73 20 73 74 6f 72 | 65 6c 69 73 74 0d 70 75 |ets stor|elist.pu|
|000042a0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 73 74 6f |t empty |into sto|
|000042b0| 72 65 6e 61 6d 65 6c 69 | 73 74 0d 72 65 70 65 61 |renameli|st.repea|
|000042c0| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|000042d0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|000042e0| 6e 65 73 20 69 6e 20 73 | 74 6f 72 65 6c 69 73 74 |nes in s|torelist|
|000042f0| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 6c |.put ite|m 1 of l|
|00004300| 69 6e 65 20 69 20 6f 66 | 20 73 74 6f 72 65 6c 69 |ine i of| storeli|
|00004310| 73 74 20 69 6e 74 6f 20 | 6c 69 6e 65 20 69 20 6f |st into |line i o|
|00004320| 66 20 73 74 6f 72 65 6e | 61 6d 65 6c 69 73 74 0d |f storen|amelist.|
|00004330| 65 6e 64 20 72 65 70 65 | 61 74 0d 69 66 20 73 74 |end repe|at.if st|
|00004340| 6f 72 65 6e 61 6d 65 6c | 69 73 74 20 69 73 20 65 |orenamel|ist is e|
|00004350| 6d 70 74 79 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |mpty the|n.answer|
|00004360| 20 22 54 68 65 72 65 20 | 61 72 65 20 6e 6f 20 70 | "There |are no p|
|00004370| 72 65 76 69 6f 75 73 6c | 79 20 73 74 6f 72 65 64 |reviousl|y stored|
|00004380| 20 73 65 74 73 20 6f 66 | 20 6d 61 72 6b 73 2e 22 | sets of| marks."|
|00004390| 20 77 69 74 68 20 22 53 | 6f 72 72 79 22 0d 65 78 | with "S|orry".ex|
|000043a0| 69 74 20 74 6f 20 68 79 | 70 65 72 63 61 72 64 0d |it to hy|percard.|
|000043b0| 65 6e 64 20 69 66 0d 70 | 75 74 20 72 65 74 75 72 |end if.p|ut retur|
|000043c0| 6e 26 22 41 6c 6c 20 43 | 61 72 64 73 22 20 61 66 |n&"All C|ards" af|
|000043d0| 74 65 72 20 73 74 6f 72 | 65 6e 61 6d 65 6c 69 73 |ter stor|enamelis|
|000043e0| 74 0d 72 65 74 75 72 6e | 20 73 74 6f 72 65 6e 61 |t.return| storena|
|000043f0| 6d 65 6c 69 73 74 0d 65 | 6e 64 20 67 65 74 73 65 |melist.e|nd getse|
|00004400| 74 73 0d 0d 6f 6e 20 64 | 65 6c 65 74 65 73 65 74 |ts..on d|eleteset|
|00004410| 73 0d 70 75 74 20 63 64 | 20 66 6c 64 20 22 73 74 |s.put cd| fld "st|
|00004420| 6f 72 65 6d 61 72 6b 73 | 22 20 6f 66 20 63 64 20 |oremarks|" of cd |
|00004430| 22 6d 65 6e 75 22 20 69 | 6e 74 6f 20 73 74 6f 72 |"menu" i|nto stor|
|00004440| 65 6c 69 73 74 0d 70 75 | 74 20 67 65 74 73 65 74 |elist.pu|t getset|
|00004450| 73 28 73 74 6f 72 65 6c | 69 73 74 29 20 69 6e 74 |s(storel|ist) int|
|00004460| 6f 20 73 74 6f 72 65 6e | 61 6d 65 6c 69 73 74 0d |o storen|amelist.|
|00004470| 64 65 6c 65 74 65 20 6c | 61 73 74 20 6c 69 6e 65 |delete l|ast line|
|00004480| 20 6f 66 20 73 74 6f 72 | 65 6e 61 6d 65 6c 69 73 | of stor|enamelis|
|00004490| 74 0d 70 75 74 20 4c 69 | 73 74 53 65 6c 65 63 74 |t.put Li|stSelect|
|000044a0| 28 22 44 49 53 23 22 2c | 73 74 6f 72 65 6e 61 6d |("DIS#",|storenam|
|000044b0| 65 6c 69 73 74 2c 22 53 | 65 6c 65 63 74 20 6c 69 |elist,"S|elect li|
|000044c0| 73 74 73 20 74 6f 20 64 | 65 6c 65 74 65 2e 2e 2e |sts to d|elete...|
|000044d0| 22 26 c2 0d 72 65 74 75 | 72 6e 26 22 53 68 69 66 |"&..retu|rn&"Shif|
|000044e0| 74 20 3d 20 6d 75 6c 74 | 69 70 6c 65 20 20 43 6d |t = mult|iple Cm|
|000044f0| 64 20 3d 20 64 69 73 63 | 6f 6e 74 22 2c c2 0d 22 |d = disc|ont",.."|
|00004500| 31 38 30 2c 32 30 2c 33 | 32 30 2c 33 31 30 22 2c |180,20,3|20,310",|
|00004510| 22 47 65 6e 65 76 61 2c | 39 22 29 20 69 6e 74 6f |"Geneva,|9") into|
|00004520| 20 64 65 6c 6c 69 73 74 | 0d 72 65 70 65 61 74 20 | dellist|.repeat |
|00004530| 77 69 74 68 20 69 20 3d | 20 6e 75 6d 62 65 72 20 |with i =| number |
|00004540| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 64 65 6c 6c |of lines| in dell|
|00004550| 69 73 74 20 64 6f 77 6e | 20 74 6f 20 31 0d 64 65 |ist down| to 1.de|
|00004560| 6c 65 74 65 20 6c 69 6e | 65 20 28 6c 69 6e 65 20 |lete lin|e (line |
|00004570| 69 20 6f 66 20 64 65 6c | 6c 69 73 74 29 20 6f 66 |i of del|list) of|
|00004580| 20 73 74 6f 72 65 6c 69 | 73 74 0d 65 6e 64 20 72 | storeli|st.end r|
|00004590| 65 70 65 61 74 0d 70 75 | 74 20 73 74 6f 72 65 6c |epeat.pu|t storel|
|000045a0| 69 73 74 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 |ist into| cd fld |
|000045b0| 22 73 74 6f 72 65 6d 61 | 72 6b 73 22 20 6f 66 20 |"storema|rks" of |
|000045c0| 63 64 20 22 6d 65 6e 75 | 22 0d 65 6e 64 20 64 65 |cd "menu|".end de|
|000045d0| 6c 65 74 65 73 65 74 73 | 0d 0d 6f 6e 20 72 65 73 |letesets|..on res|
|000045e0| 74 6f 72 65 73 65 74 20 | 77 68 61 74 0d 70 75 74 |toreset |what.put|
|000045f0| 20 63 64 20 66 6c 64 20 | 22 73 74 6f 72 65 6d 61 | cd fld |"storema|
|00004600| 72 6b 73 22 20 6f 66 20 | 63 64 20 22 6d 65 6e 75 |rks" of |cd "menu|
|00004610| 22 20 69 6e 74 6f 20 73 | 74 6f 72 65 6c 69 73 74 |" into s|torelist|
|00004620| 0d 70 75 74 20 67 65 74 | 73 65 74 73 28 73 74 6f |.put get|sets(sto|
|00004630| 72 65 6c 69 73 74 29 20 | 69 6e 74 6f 20 73 74 6f |relist) |into sto|
|00004640| 72 65 6e 61 6d 65 6c 69 | 73 74 0d 70 75 74 20 74 |renameli|st.put t|
|00004650| 72 75 65 20 69 6e 74 6f | 20 6e 65 77 6d 61 72 6b |rue into| newmark|
|00004660| 0d 69 66 20 77 68 61 74 | 20 3d 20 22 52 65 70 6c |.if what| = "Repl|
|00004670| 61 63 65 20 43 75 72 72 | 65 6e 74 22 20 74 68 65 |ace Curr|ent" the|
|00004680| 6e 0d 75 6e 6d 61 72 6b | 20 61 6c 6c 20 63 61 72 |n.unmark| all car|
|00004690| 64 73 0d 65 6c 73 65 20 | 69 66 20 77 68 61 74 20 |ds.else |if what |
|000046a0| 3d 20 22 53 75 62 74 72 | 61 63 74 20 66 72 6f 6d |= "Subtr|act from|
|000046b0| 20 43 75 72 72 65 6e 74 | 22 20 74 68 65 6e 0d 70 | Current|" then.p|
|000046c0| 75 74 20 66 61 6c 73 65 | 20 69 6e 74 6f 20 6e 65 |ut false| into ne|
|000046d0| 77 6d 61 72 6b 0d 65 6e | 64 20 69 66 0d 67 65 74 |wmark.en|d if.get|
|000046e0| 20 4c 69 73 74 53 65 6c | 65 63 74 28 22 2a 4f 23 | ListSel|ect("*O#|
|000046f0| 22 2c 73 74 6f 72 65 6e | 61 6d 65 6c 69 73 74 2c |",storen|amelist,|
|00004700| 22 53 65 6c 65 63 74 20 | 6c 69 73 74 2e 2e 2e 22 |"Select |list..."|
|00004710| 2c c2 0d 22 31 38 30 2c | 32 30 2c 33 32 30 2c 33 |,.."180,|20,320,3|
|00004720| 31 30 22 2c 22 47 65 6e | 65 76 61 2c 39 22 29 0d |10","Gen|eva,9").|
|00004730| 69 66 20 69 74 20 3d 20 | 65 6d 70 74 79 20 74 68 |if it = |empty th|
|00004740| 65 6e 0d 65 78 69 74 20 | 74 6f 20 68 79 70 65 72 |en.exit |to hyper|
|00004750| 63 61 72 64 0d 65 6c 73 | 65 20 69 66 20 6c 69 6e |card.els|e if lin|
|00004760| 65 20 69 74 20 6f 66 20 | 73 74 6f 72 65 6e 61 6d |e it of |storenam|
|00004770| 65 6c 69 73 74 20 3d 20 | 22 41 6c 6c 20 43 61 72 |elist = |"All Car|
|00004780| 64 73 22 20 74 68 65 6e | 0d 69 66 20 77 68 61 74 |ds" then|.if what|
|00004790| 20 3d 20 22 53 75 62 74 | 72 61 63 74 20 66 72 6f | = "Subt|ract fro|
|000047a0| 6d 20 43 75 72 72 65 6e | 74 22 20 6f 72 20 77 68 |m Curren|t" or wh|
|000047b0| 61 74 20 3d 20 22 49 6e | 74 65 72 73 65 63 74 20 |at = "In|tersect |
|000047c0| 77 69 74 68 20 43 75 72 | 72 65 6e 74 22 20 74 68 |with Cur|rent" th|
|000047d0| 65 6e 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |en.repea|t with i|
|000047e0| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|000047f0| 65 72 20 6f 66 20 63 61 | 72 64 73 0d 73 65 74 20 |er of ca|rds.set |
|00004800| 74 68 65 20 6d 61 72 6b | 65 64 20 6f 66 20 63 61 |the mark|ed of ca|
|00004810| 72 64 20 69 20 74 6f 20 | 6e 6f 74 20 74 68 65 20 |rd i to |not the |
|00004820| 6d 61 72 6b 65 64 20 6f | 66 20 63 61 72 64 20 69 |marked o|f card i|
|00004830| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6c 73 65 |.end rep|eat.else|
|00004840| 0d 6d 61 72 6b 20 61 6c | 6c 20 63 61 72 64 73 0d |.mark al|l cards.|
|00004850| 65 6e 64 20 69 66 0d 65 | 6c 73 65 0d 70 75 74 20 |end if.e|lse.put |
|00004860| 69 74 65 6d 20 32 20 6f | 66 20 6c 69 6e 65 20 69 |item 2 o|f line i|
|00004870| 74 20 6f 66 20 73 74 6f | 72 65 6c 69 73 74 20 69 |t of sto|relist i|
|00004880| 6e 74 6f 20 74 65 6d 70 | 6c 69 73 74 0d 69 66 20 |nto temp|list.if |
|00004890| 74 65 6d 70 6c 69 73 74 | 20 69 73 20 65 6d 70 74 |templist| is empt|
|000048a0| 79 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 54 |y then.a|nswer "T|
|000048b0| 68 69 73 20 6c 69 73 74 | 20 69 73 20 65 6d 70 74 |his list| is empt|
|000048c0| 79 2e 22 20 77 69 74 68 | 20 22 53 6f 72 72 79 22 |y." with| "Sorry"|
|000048d0| 0d 65 78 69 74 20 74 6f | 20 68 79 70 65 72 63 61 |.exit to| hyperca|
|000048e0| 72 64 0d 65 6e 64 20 69 | 66 0d 70 75 73 68 20 63 |rd.end i|f.push c|
|000048f0| 61 72 64 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 63 |ard.put |0 into c|
|00004900| 6f 75 6e 74 0d 6c 6f 63 | 6b 69 74 0d 70 72 6f 6d |ount.loc|kit.prom|
|00004910| 70 74 6f 69 64 20 22 20 | 20 20 20 20 20 20 20 20 |ptoid " | |
|00004920| 52 65 73 74 6f 72 69 6e | 67 20 4d 61 72 6b 73 2e |Restorin|g Marks.|
|00004930| 2e 2e 20 20 20 20 20 20 | 20 20 20 22 0d 69 66 20 |.. | ".if |
|00004940| 77 68 61 74 20 3d 20 22 | 49 6e 74 65 72 73 65 63 |what = "|Intersec|
|00004950| 74 20 77 69 74 68 20 43 | 75 72 72 65 6e 74 22 20 |t with C|urrent" |
|00004960| 74 68 65 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |then.rep|eat with|
|00004970| 20 69 20 3d 20 74 68 65 | 20 6e 75 6d 62 65 72 20 | i = the| number |
|00004980| 6f 66 20 6d 61 72 6b 65 | 64 20 63 61 72 64 73 20 |of marke|d cards |
|00004990| 64 6f 77 6e 20 74 6f 20 | 31 0d 70 75 74 20 77 6f |down to |1.put wo|
|000049a0| 72 64 20 33 20 6f 66 20 | 74 68 65 20 73 68 6f 72 |rd 3 of |the shor|
|000049b0| 74 20 6e 61 6d 65 20 6f | 66 20 6d 61 72 6b 65 64 |t name o|f marked|
|000049c0| 20 63 61 72 64 20 69 20 | 69 6e 74 6f 20 74 65 6d | card i |into tem|
|000049d0| 70 0d 69 66 20 74 65 6d | 70 20 69 73 20 6e 6f 74 |p.if tem|p is not|
|000049e0| 20 69 6e 20 74 65 6d 70 | 6c 69 73 74 20 74 68 65 | in temp|list the|
|000049f0| 6e 0d 75 6e 6d 61 72 6b | 20 63 61 72 64 20 69 64 |n.unmark| card id|
|00004a00| 20 74 65 6d 70 0d 61 64 | 64 20 31 20 74 6f 20 63 | temp.ad|d 1 to c|
|00004a10| 6f 75 6e 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |ount.end| if.end |
|00004a20| 72 65 70 65 61 74 0d 65 | 6c 73 65 0d 70 75 74 20 |repeat.e|lse.put |
|00004a30| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 77 6f |the numb|er of wo|
|00004a40| 72 64 73 20 69 6e 20 74 | 65 6d 70 6c 69 73 74 20 |rds in t|emplist |
|00004a50| 69 6e 74 6f 20 6e 75 6d | 0d 72 65 70 65 61 74 20 |into num|.repeat |
|00004a60| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 20 6e |with i =| 1 to n|
|00004a70| 75 6d 0d 70 75 74 20 77 | 6f 72 64 20 69 20 6f 66 |um.put w|ord i of|
|00004a80| 20 74 65 6d 70 6c 69 73 | 74 20 69 6e 74 6f 20 74 | templis|t into t|
|00004a90| 65 6d 70 0d 69 66 20 69 | 73 6e 75 6d 62 65 72 28 |emp.if i|snumber(|
|00004aa0| 74 65 6d 70 29 20 74 68 | 65 6e 20 67 6f 20 74 6f |temp) th|en go to|
|00004ab0| 20 63 61 72 64 20 69 64 | 20 74 65 6d 70 0d 69 66 | card id| temp.if|
|00004ac0| 20 77 6f 72 64 20 33 20 | 6f 66 20 74 68 65 20 73 | word 3 |of the s|
|00004ad0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00004ae0| 73 20 63 61 72 64 20 3d | 20 77 6f 72 64 20 69 20 |s card =| word i |
|00004af0| 6f 66 20 74 65 6d 70 6c | 69 73 74 20 74 68 65 6e |of templ|ist then|
|00004b00| 0d 70 75 74 20 74 68 65 | 20 6d 61 72 6b 65 64 20 |.put the| marked |
|00004b10| 6f 66 20 74 68 69 73 20 | 63 61 72 64 20 69 6e 74 |of this |card int|
|00004b20| 6f 20 6f 6c 64 6d 61 72 | 6b 0d 73 65 74 20 74 68 |o oldmar|k.set th|
|00004b30| 65 20 6d 61 72 6b 65 64 | 20 6f 66 20 74 68 69 73 |e marked| of this|
|00004b40| 20 63 61 72 64 20 74 6f | 20 6e 65 77 6d 61 72 6b | card to| newmark|
|00004b50| 0d 69 66 20 74 68 65 20 | 6d 61 72 6b 65 64 20 6f |.if the |marked o|
|00004b60| 66 20 74 68 69 73 20 63 | 61 72 64 20 3c 3e 20 6f |f this c|ard <> o|
|00004b70| 6c 64 6d 61 72 6b 20 74 | 68 65 6e 20 61 64 64 20 |ldmark t|hen add |
|00004b80| 31 20 74 6f 20 63 6f 75 | 6e 74 0d 65 6e 64 20 69 |1 to cou|nt.end i|
|00004b90| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |f.end re|peat.end|
|00004ba0| 20 69 66 0d 70 6f 70 20 | 63 61 72 64 0d 69 66 20 | if.pop |card.if |
|00004bb0| 63 6f 75 6e 74 20 3d 20 | 30 20 74 68 65 6e 0d 61 |count = |0 then.a|
|00004bc0| 6e 73 77 65 72 20 22 4e | 6f 20 6d 61 72 6b 73 20 |nswer "N|o marks |
|00004bd0| 77 65 72 65 20 63 68 61 | 6e 67 65 64 2e 22 0d 65 |were cha|nged.".e|
|00004be0| 6c 73 65 0d 61 6e 73 77 | 65 72 20 63 6f 75 6e 74 |lse.answ|er count|
|00004bf0| 20 26 26 20 22 6d 61 72 | 6b 73 20 77 65 72 65 20 | && "mar|ks were |
|00004c00| 63 68 61 6e 67 65 64 2e | 22 0d 65 6e 64 20 69 66 |changed.|".end if|
|00004c10| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 73 74 |.end if.|end rest|
|00004c20| 6f 72 65 73 65 74 0d 0d | 6f 6e 20 64 65 6c 65 74 |oreset..|on delet|
|00004c30| 65 63 64 73 20 77 68 61 | 74 0d 69 66 20 77 68 61 |ecds wha|t.if wha|
|00004c40| 74 20 3d 20 22 6d 61 72 | 6b 65 64 22 20 74 68 65 |t = "mar|ked" the|
|00004c50| 6e 0d 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |n.put th|e number|
|00004c60| 20 6f 66 20 6d 61 72 6b | 65 64 20 63 61 72 64 73 | of mark|ed cards|
|00004c70| 20 69 6e 74 6f 20 63 6e | 74 0d 65 6c 73 65 20 69 | into cn|t.else i|
|00004c80| 66 20 77 68 61 74 20 3d | 20 22 75 6e 6d 61 72 6b |f what =| "unmark|
|00004c90| 65 64 22 20 74 68 65 6e | 0d 70 75 74 20 74 68 65 |ed" then|.put the|
|00004ca0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 61 72 64 73 | number |of cards|
|00004cb0| 20 2d 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 | - the n|umber of|
|00004cc0| 20 6d 61 72 6b 65 64 20 | 63 61 72 64 73 20 2d 20 | marked |cards - |
|00004cd0| 31 20 69 6e 74 6f 20 63 | 6e 74 0d 65 6c 73 65 20 |1 into c|nt.else |
|00004ce0| 69 66 20 77 68 61 74 20 | 3d 20 22 61 6c 6c 22 20 |if what |= "all" |
|00004cf0| 74 68 65 6e 0d 70 75 74 | 20 74 68 65 20 6e 75 6d |then.put| the num|
|00004d00| 62 65 72 20 6f 66 20 63 | 61 72 64 73 20 2d 20 31 |ber of c|ards - 1|
|00004d10| 20 69 6e 74 6f 20 63 6e | 74 0d 65 6c 73 65 20 69 | into cn|t.else i|
|00004d20| 66 20 77 68 61 74 20 3d | 20 22 6e 75 6d 62 65 72 |f what =| "number|
|00004d30| 22 20 74 68 65 6e 0d 70 | 75 74 20 65 6e 74 65 72 |" then.p|ut enter|
|00004d40| 6e 75 6d 28 22 68 6f 77 | 20 6d 61 6e 79 20 63 61 |num("how| many ca|
|00004d50| 72 64 73 3f 22 2c 74 68 | 65 20 6e 75 6d 62 65 72 |rds?",th|e number|
|00004d60| 20 6f 66 20 63 61 72 64 | 73 20 2d 20 31 29 20 69 | of card|s - 1) i|
|00004d70| 6e 74 6f 20 63 6e 74 0d | 69 66 20 63 6e 74 20 3e |nto cnt.|if cnt >|
|00004d80| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00004d90| 61 72 64 73 20 2d 31 20 | 74 68 65 6e 20 70 75 74 |ards -1 |then put|
|00004da0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00004db0| 61 72 64 73 20 2d 31 20 | 69 6e 74 6f 20 63 6e 74 |ards -1 |into cnt|
|00004dc0| 0d 69 66 20 63 6e 74 20 | 3c 20 31 20 74 68 65 6e |.if cnt |< 1 then|
|00004dd0| 20 65 78 69 74 20 64 65 | 6c 65 74 65 63 64 73 0d | exit de|letecds.|
|00004de0| 65 6e 64 20 69 66 0d 6c | 6f 63 6b 69 74 0d 70 72 |end if.l|ockit.pr|
|00004df0| 6f 6d 70 74 6f 69 64 20 | 22 20 20 20 20 20 44 65 |omptoid |" De|
|00004e00| 6c 65 74 65 64 20 30 20 | 6f 66 22 26 26 63 6e 74 |leted 0 |of"&&cnt|
|00004e10| 26 26 22 43 61 72 64 73 | 2e 2e 2e 20 20 20 20 20 |&&"Cards|... |
|00004e20| 22 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 63 6f 75 |".put 0 |into cou|
|00004e30| 6e 74 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 6c 6f |nt.put 0| into lo|
|00004e40| 6f 70 63 6e 74 0d 72 65 | 70 65 61 74 20 66 6f 72 |opcnt.re|peat for|
|00004e50| 20 63 6e 74 0d 61 64 64 | 20 31 20 74 6f 20 6c 6f | cnt.add| 1 to lo|
|00004e60| 6f 70 63 6e 74 0d 72 65 | 70 65 61 74 0d 69 66 20 |opcnt.re|peat.if |
|00004e70| 77 68 61 74 20 3d 20 22 | 6d 61 72 6b 65 64 22 20 |what = "|marked" |
|00004e80| 74 68 65 6e 0d 67 6f 20 | 70 72 65 76 20 63 61 72 |then.go |prev car|
|00004e90| 64 0d 67 6f 20 6e 65 78 | 74 20 6d 61 72 6b 65 64 |d.go nex|t marked|
|00004ea0| 20 63 61 72 64 0d 65 6c | 73 65 20 69 66 20 77 68 | card.el|se if wh|
|00004eb0| 61 74 20 3d 20 22 75 6e | 6d 61 72 6b 65 64 22 20 |at = "un|marked" |
|00004ec0| 74 68 65 6e 0d 72 65 70 | 65 61 74 20 77 68 69 6c |then.rep|eat whil|
|00004ed0| 65 20 74 68 65 20 6d 61 | 72 6b 65 64 20 6f 66 20 |e the ma|rked of |
|00004ee0| 74 68 69 73 20 63 61 72 | 64 0d 67 6f 20 6e 65 78 |this car|d.go nex|
|00004ef0| 74 20 63 61 72 64 0d 65 | 6e 64 20 72 65 70 65 61 |t card.e|nd repea|
|00004f00| 74 0d 65 6e 64 20 69 66 | 0d 69 66 20 74 68 65 20 |t.end if|.if the |
|00004f10| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00004f20| 69 73 20 63 61 72 64 20 | 3d 20 22 6d 65 6e 75 22 |is card |= "menu"|
|00004f30| 20 74 68 65 6e 0d 67 6f | 20 6e 65 78 74 20 63 61 | then.go| next ca|
|00004f40| 72 64 0d 65 6c 73 65 0d | 65 78 69 74 20 72 65 70 |rd.else.|exit rep|
|00004f50| 65 61 74 0d 65 6e 64 20 | 69 66 0d 69 66 20 6c 6f |eat.end |if.if lo|
|00004f60| 6f 70 63 6e 74 20 3e 20 | 33 20 74 68 65 6e 0d 61 |opcnt > |3 then.a|
|00004f70| 6e 73 77 65 72 20 22 54 | 68 65 72 65 20 69 73 20 |nswer "T|here is |
|00004f80| 61 6e 20 65 72 72 6f 72 | 20 64 65 6c 65 74 69 6e |an error| deletin|
|00004f90| 67 20 63 61 72 64 73 2e | 20 43 61 6e 6e 6f 74 20 |g cards.| Cannot |
|00004fa0| 22 26 c2 0d 22 64 65 6c | 65 74 65 20 74 68 65 20 |"&.."del|ete the |
|00004fb0| 6d 65 6e 75 20 63 61 72 | 64 2e 22 0d 65 78 69 74 |menu car|d.".exit|
|00004fc0| 20 64 65 6c 65 74 65 63 | 64 73 0d 65 6e 64 20 69 | deletec|ds.end i|
|00004fd0| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 64 6f 6d |f.end re|peat.dom|
|00004fe0| 65 6e 75 20 22 64 65 6c | 65 74 65 20 63 61 72 64 |enu "del|ete card|
|00004ff0| 22 0d 61 64 64 20 31 20 | 74 6f 20 63 6f 75 6e 74 |".add 1 |to count|
|00005000| 0d 73 65 74 70 72 6f 6d | 70 74 6f 69 64 20 22 44 |.setprom|ptoid "D|
|00005010| 65 6c 65 74 65 64 22 26 | 26 63 6f 75 6e 74 26 26 |eleted"&|&count&&|
|00005020| 22 6f 66 22 26 26 63 6e | 74 26 26 22 43 61 72 64 |"of"&&cn|t&&"Card|
|00005030| 73 2e 2e 2e 22 0d 65 6e | 64 20 72 65 70 65 61 74 |s...".en|d repeat|
|00005040| 0d 65 6e 64 20 64 65 6c | 65 74 65 63 64 73 0d 0d |.end del|etecds..|
|00005050| 6f 6e 20 64 65 6c 65 74 | 65 64 75 70 63 64 73 0d |on delet|edupcds.|
|00005060| 69 66 73 6f 72 74 61 75 | 74 68 6f 72 0d 6c 6f 63 |ifsortau|thor.loc|
|00005070| 6b 69 74 0d 70 72 6f 6d | 70 74 6f 69 64 20 22 20 |kit.prom|ptoid " |
|00005080| 20 20 20 20 4c 6f 6f 6b | 69 6e 67 20 66 6f 72 20 | Look|ing for |
|00005090| 44 75 70 6c 69 63 61 74 | 65 73 20 61 74 20 43 61 |Duplicat|es at Ca|
|000050a0| 72 64 20 30 20 20 20 20 | 20 20 22 0d 70 75 74 20 |rd 0 | ".put |
|000050b0| 22 78 78 78 22 20 69 6e | 74 6f 20 73 6f 75 72 63 |"xxx" in|to sourc|
|000050c0| 65 0d 70 75 74 20 22 78 | 78 78 22 20 69 6e 74 6f |e.put "x|xx" into|
|000050d0| 20 63 69 74 61 74 69 6f | 6e 0d 70 75 74 20 22 78 | citatio|n.put "x|
|000050e0| 78 78 22 20 69 6e 74 6f | 20 74 69 74 6c 65 0d 67 |xx" into| title.g|
|000050f0| 6f 20 6e 65 78 74 20 63 | 64 0d 70 75 74 20 30 20 |o next c|d.put 0 |
|00005100| 69 6e 74 6f 20 63 6f 75 | 6e 74 0d 72 65 70 65 61 |into cou|nt.repea|
|00005110| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00005120| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 64 |the numb|er of cd|
|00005130| 73 20 2d 20 31 0d 73 65 | 74 70 72 6f 6d 70 74 6f |s - 1.se|tprompto|
|00005140| 69 64 20 63 6f 75 6e 74 | 26 26 22 44 75 70 6c 69 |id count|&&"Dupli|
|00005150| 63 61 74 65 73 20 75 70 | 20 74 6f 20 43 61 72 64 |cates up| to Card|
|00005160| 22 26 26 69 0d 69 66 20 | 66 6c 64 20 22 6a 6f 75 |"&&i.if |fld "jou|
|00005170| 72 6e 61 6c 22 20 3d 20 | 73 6f 75 72 63 65 20 61 |rnal" = |source a|
|00005180| 6e 64 20 66 6c 64 20 22 | 63 69 74 61 74 69 6f 6e |nd fld "|citation|
|00005190| 22 20 3d 20 63 69 74 61 | 74 69 6f 6e 20 61 6e 64 |" = cita|tion and|
|000051a0| 20 66 6c 64 20 22 74 69 | 74 6c 65 22 20 3d 20 74 | fld "ti|tle" = t|
|000051b0| 69 74 6c 65 20 74 68 65 | 6e 0d 64 6f 6d 65 6e 75 |itle the|n.domenu|
|000051c0| 20 22 63 75 74 20 63 61 | 72 64 22 0d 61 64 64 20 | "cut ca|rd".add |
|000051d0| 31 20 74 6f 20 63 6f 75 | 6e 74 0d 65 6c 73 65 0d |1 to cou|nt.else.|
|000051e0| 70 75 74 20 66 6c 64 20 | 22 6a 6f 75 72 6e 61 6c |put fld |"journal|
|000051f0| 22 20 69 6e 74 6f 20 73 | 6f 75 72 63 65 0d 70 75 |" into s|ource.pu|
|00005200| 74 20 66 6c 64 20 22 63 | 69 74 61 74 69 6f 6e 22 |t fld "c|itation"|
|00005210| 20 69 6e 74 6f 20 63 69 | 74 61 74 69 6f 6e 0d 70 | into ci|tation.p|
|00005220| 75 74 20 66 6c 64 20 22 | 74 69 74 6c 65 22 20 69 |ut fld "|title" i|
|00005230| 6e 74 6f 20 74 69 74 6c | 65 0d 67 6f 20 6e 65 78 |nto titl|e.go nex|
|00005240| 74 20 63 64 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |t cd.end| if.end |
|00005250| 72 65 70 65 61 74 0d 65 | 6e 64 20 64 65 6c 65 74 |repeat.e|nd delet|
|00005260| 65 64 75 70 63 64 73 0d | 0d 6f 6e 20 65 78 70 6f |edupcds.|.on expo|
|00005270| 72 74 63 64 73 20 77 68 | 61 74 0d 69 66 20 77 68 |rtcds wh|at.if wh|
|00005280| 61 74 20 3d 20 22 6d 61 | 72 6b 65 64 22 20 74 68 |at = "ma|rked" th|
|00005290| 65 6e 0d 69 66 6e 6f 6d | 61 72 6b 65 64 63 64 73 |en.ifnom|arkedcds|
|000052a0| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|000052b0| 6f 66 20 6d 61 72 6b 65 | 64 20 63 64 73 20 69 6e |of marke|d cds in|
|000052c0| 74 6f 20 63 6e 74 0d 70 | 75 74 20 22 67 6f 20 6e |to cnt.p|ut "go n|
|000052d0| 65 78 74 20 6d 61 72 6b | 65 64 20 63 61 72 64 22 |ext mark|ed card"|
|000052e0| 20 69 6e 74 6f 20 6e 65 | 78 74 63 6d 64 0d 65 6c | into ne|xtcmd.el|
|000052f0| 73 65 0d 69 66 6e 6f 63 | 61 72 64 73 0d 70 75 74 |se.ifnoc|ards.put|
|00005300| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00005310| 61 72 64 73 20 2d 20 31 | 20 69 6e 74 6f 20 63 6e |ards - 1| into cn|
|00005320| 74 0d 70 75 74 20 22 67 | 6f 20 6e 65 78 74 20 63 |t.put "g|o next c|
|00005330| 61 72 64 22 20 69 6e 74 | 6f 20 6e 65 78 74 63 6d |ard" int|o nextcm|
|00005340| 64 0d 65 6e 64 20 69 66 | 0d 61 73 6b 20 66 69 6c |d.end if|.ask fil|
|00005350| 65 20 22 54 65 78 74 20 | 66 69 6c 65 20 66 6f 72 |e "Text |file for|
|00005360| 20 65 78 70 6f 72 74 3f | 22 20 77 69 74 68 20 22 | export?|" with "|
|00005370| 65 78 70 6f 72 74 20 66 | 69 6c 65 22 0d 69 66 20 |export f|ile".if |
|00005380| 69 74 20 3d 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |it = emp|ty then |
|00005390| 65 78 69 74 20 74 6f 20 | 68 79 70 65 72 63 61 72 |exit to |hypercar|
|000053a0| 64 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 66 69 |d.put it| into fi|
|000053b0| 6c 65 6e 6d 0d 6c 6f 63 | 6b 69 74 0d 70 75 73 68 |lenm.loc|kit.push|
|000053c0| 20 63 61 72 64 0d 67 6f | 20 74 6f 20 63 61 72 64 | card.go| to card|
|000053d0| 20 6d 65 6e 75 0d 70 75 | 74 20 63 64 20 66 6c 64 | menu.pu|t cd fld|
|000053e0| 20 22 65 78 70 6f 72 74 | 66 6f 72 6d 61 74 22 20 | "export|format" |
|000053f0| 69 6e 74 6f 20 62 66 6f | 72 6d 61 74 0d 70 72 6f |into bfo|rmat.pro|
|00005400| 6d 70 74 6f 69 64 20 22 | 20 20 20 20 20 43 72 65 |mptoid "| Cre|
|00005410| 61 74 69 6e 67 20 45 78 | 70 6f 72 74 20 46 69 6c |ating Ex|port Fil|
|00005420| 65 2e 2e 2e 20 20 20 20 | 20 22 0d 6f 70 65 6e 20 |e... | ".open |
|00005430| 66 69 6c 65 20 66 69 6c | 65 6e 6d 0d 70 75 74 20 |file fil|enm.put |
|00005440| 28 41 50 45 52 20 69 73 | 20 69 6e 20 62 66 6f 72 |(APER is| in bfor|
|00005450| 6d 61 74 29 20 69 6e 74 | 6f 20 73 65 74 61 70 65 |mat) int|o setape|
|00005460| 72 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 72 65 |r.repeat| with re|
|00005470| 66 6e 75 6d 20 3d 20 31 | 20 74 6f 20 63 6e 74 0d |fnum = 1| to cnt.|
|00005480| 64 6f 20 6e 65 78 74 63 | 6d 64 0d 70 75 74 20 66 |do nextc|md.put f|
|00005490| 75 6c 6c 72 65 70 6c 61 | 63 65 28 66 69 65 6c 64 |ullrepla|ce(field|
|000054a0| 20 22 6b 65 79 77 6f 72 | 64 22 2c 72 65 74 75 72 | "keywor|d",retur|
|000054b0| 6e 2c 22 2c 20 22 29 20 | 69 6e 74 6f 20 4b 57 4c |n,", ") |into KWL|
|000054c0| 49 4e 45 0d 69 66 20 73 | 65 74 61 70 65 72 20 74 |INE.if s|etaper t|
|000054d0| 68 65 6e 0d 70 75 74 20 | 64 6f 61 70 65 72 63 6f |hen.put |doaperco|
|000054e0| 6d 28 66 6c 64 20 22 61 | 75 74 68 6f 72 73 22 29 |m(fld "a|uthors")|
|000054f0| 20 69 6e 74 6f 20 41 50 | 45 52 0d 70 75 74 20 66 | into AP|ER.put f|
|00005500| 75 6c 6c 72 65 70 6c 61 | 63 65 28 41 50 45 52 2c |ullrepla|ce(APER,|
|00005510| 22 20 2c 40 22 2c 22 2c | 20 22 29 20 69 6e 74 6f |" ,@",",| ") into|
|00005520| 20 41 50 45 52 43 4f 4d | 0d 70 75 74 20 66 75 6c | APERCOM|.put ful|
|00005530| 6c 72 65 70 6c 61 63 65 | 28 41 50 45 52 2c 22 2c |lreplace|(APER,",|
|00005540| 40 22 2c 22 22 29 20 69 | 6e 74 6f 20 41 50 45 52 |@","") i|nto APER|
|00005550| 0d 65 6e 64 20 69 66 0d | 64 6f 20 22 70 75 74 20 |.end if.|do "put |
|00005560| 22 26 62 66 6f 72 6d 61 | 74 26 22 20 69 6e 74 6f |"&bforma|t&" into|
|00005570| 20 6f 75 74 70 75 74 22 | 0d 73 65 74 70 72 6f 6d | output"|.setprom|
|00005580| 70 74 6f 69 64 20 22 57 | 72 69 74 69 6e 67 20 22 |ptoid "W|riting "|
|00005590| 26 20 72 65 66 6e 75 6d | 20 26 20 22 20 6f 66 20 |& refnum| & " of |
|000055a0| 22 26 63 6e 74 26 22 2e | 2e 2e 22 0d 77 72 69 74 |"&cnt&".|..".writ|
|000055b0| 65 20 6f 75 74 70 75 74 | 20 74 6f 20 66 69 6c 65 |e output| to file|
|000055c0| 20 66 69 6c 65 6e 6d 0d | 65 6e 64 20 72 65 70 65 | filenm.|end repe|
|000055d0| 61 74 0d 63 6c 6f 73 65 | 20 66 69 6c 65 20 66 69 |at.close| file fi|
|000055e0| 6c 65 6e 6d 0d 70 6f 70 | 20 63 61 72 64 0d 65 6e |lenm.pop| card.en|
|000055f0| 64 20 65 78 70 6f 72 74 | 63 64 73 0d 0d 6f 6e 20 |d export|cds..on |
|00005600| 70 6f 70 75 70 63 6f 6c | 6c 65 63 74 20 77 68 61 |popupcol|lect wha|
|00005610| 74 0d 67 6c 6f 62 61 6c | 20 66 69 65 6c 64 6d 65 |t.global| fieldme|
|00005620| 6e 75 73 74 6f 72 61 67 | 65 2c 53 6f 75 72 63 65 |nustorag|e,Source|
|00005630| 4d 65 6e 75 73 74 6f 72 | 61 67 65 2c 6b 65 79 77 |Menustor|age,keyw|
|00005640| 6f 72 64 6d 65 6e 75 73 | 74 6f 72 61 67 65 0d 69 |ordmenus|torage.i|
|00005650| 66 6e 6f 63 61 72 64 73 | 0d 73 65 74 20 63 75 72 |fnocards|.set cur|
|00005660| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 70 72 6f |sor to w|atch.pro|
|00005670| 6d 70 74 6f 69 64 20 22 | 20 20 20 43 6f 6c 6c 65 |mptoid "| Colle|
|00005680| 63 74 69 6e 67 20 49 74 | 65 6d 73 2e 2e 2e 20 20 |cting It|ems... |
|00005690| 20 22 0d 69 66 20 77 68 | 61 74 20 69 73 20 22 55 | ".if wh|at is "U|
|000056a0| 73 65 72 46 69 65 6c 64 | 22 20 74 68 65 6e 0d 70 |serField|" then.p|
|000056b0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 66 69 |ut empty| into fi|
|000056c0| 65 6c 64 6d 65 6e 75 73 | 74 6f 72 61 67 65 0d 72 |eldmenus|torage.r|
|000056d0| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 32 |epeat wi|th i = 2|
|000056e0| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|000056f0| 66 20 63 64 73 0d 70 75 | 74 20 69 74 65 6d 20 31 |f cds.pu|t item 1|
|00005700| 20 6f 66 20 66 6c 64 20 | 22 75 73 65 72 66 69 65 | of fld |"userfie|
|00005710| 6c 64 22 20 6f 66 20 63 | 64 20 69 20 69 6e 74 6f |ld" of c|d i into|
|00005720| 20 6c 69 6e 65 20 69 20 | 6f 66 20 66 69 65 6c 64 | line i |of field|
|00005730| 6d 65 6e 75 73 74 6f 72 | 61 67 65 0d 65 6e 64 20 |menustor|age.end |
|00005740| 72 65 70 65 61 74 0d 73 | 65 74 70 72 6f 6d 70 74 |repeat.s|etprompt|
|00005750| 6f 69 64 20 22 53 6f 72 | 74 69 6e 67 22 26 26 6e |oid "Sor|ting"&&n|
|00005760| 75 6d 62 65 72 20 6f 66 | 20 4c 69 6e 65 73 20 69 |umber of| Lines i|
|00005770| 6e 20 66 69 65 6c 64 6d | 65 6e 75 73 74 6f 72 61 |n fieldm|enustora|
|00005780| 67 65 26 26 22 49 74 65 | 6d 73 2e 2e 2e 22 0d 70 |ge&&"Ite|ms...".p|
|00005790| 75 74 20 66 75 6c 6c 73 | 6f 72 74 28 66 69 65 6c |ut fulls|ort(fiel|
|000057a0| 64 6d 65 6e 75 73 74 6f | 72 61 67 65 29 20 69 6e |dmenusto|rage) in|
|000057b0| 74 6f 20 66 69 65 6c 64 | 6d 65 6e 75 73 74 6f 72 |to field|menustor|
|000057c0| 61 67 65 0d 73 65 74 70 | 72 6f 6d 70 74 6f 69 64 |age.setp|romptoid|
|000057d0| 20 22 45 6c 69 6d 69 6e | 61 74 69 6e 67 20 44 75 | "Elimin|ating Du|
|000057e0| 70 6c 69 63 61 74 65 73 | 2e 2e 2e 22 0d 70 75 74 |plicates|...".put|
|000057f0| 20 73 74 72 69 70 64 75 | 70 28 66 69 65 6c 64 6d | stripdu|p(fieldm|
|00005800| 65 6e 75 73 74 6f 72 61 | 67 65 29 20 69 6e 74 6f |enustora|ge) into|
|00005810| 20 66 69 65 6c 64 6d 65 | 6e 75 73 74 6f 72 61 67 | fieldme|nustorag|
|00005820| 65 0d 69 66 20 6c 69 6e | 65 20 31 20 6f 66 20 66 |e.if lin|e 1 of f|
|00005830| 69 65 6c 64 6d 65 6e 75 | 73 74 6f 72 61 67 65 20 |ieldmenu|storage |
|00005840| 3d 20 65 6d 70 74 79 20 | 74 68 65 6e 20 64 65 6c |= empty |then del|
|00005850| 65 74 65 20 6c 69 6e 65 | 20 31 20 6f 66 20 66 69 |ete line| 1 of fi|
|00005860| 65 6c 64 6d 65 6e 75 73 | 74 6f 72 61 67 65 0d 73 |eldmenus|torage.s|
|00005870| 65 74 70 72 6f 6d 70 74 | 6f 69 64 20 4e 75 6d 62 |etprompt|oid Numb|
|00005880| 65 72 20 6f 66 20 4c 69 | 6e 65 73 20 69 6e 20 66 |er of Li|nes in f|
|00005890| 69 65 6c 64 6d 65 6e 75 | 73 74 6f 72 61 67 65 26 |ieldmenu|storage&|
|000058a0| 26 20 22 49 74 65 6d 73 | 2e 2e 2e 22 0d 70 75 74 |& "Items|...".put|
|000058b0| 20 66 69 65 6c 64 6d 65 | 6e 75 73 74 6f 72 61 67 | fieldme|nustorag|
|000058c0| 65 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 22 66 |e into c|d fld "f|
|000058d0| 69 65 6c 64 6d 65 6e 75 | 73 74 6f 72 61 67 65 22 |ieldmenu|storage"|
|000058e0| 20 6f 66 20 63 61 72 64 | 20 22 6d 65 6e 75 22 0d | of card| "menu".|
|000058f0| 65 6c 73 65 20 69 66 20 | 77 68 61 74 20 69 73 20 |else if |what is |
|00005900| 22 53 6f 75 72 63 65 22 | 20 74 68 65 6e 0d 70 75 |"Source"| then.pu|
|00005910| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 53 6f 75 |t empty |into Sou|
|00005920| 72 63 65 4d 65 6e 75 73 | 74 6f 72 61 67 65 0d 72 |rceMenus|torage.r|
|00005930| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00005940| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00005950| 66 20 63 64 73 0d 70 75 | 74 20 69 74 65 6d 20 31 |f cds.pu|t item 1|
|00005960| 20 6f 66 20 66 6c 64 20 | 22 6a 6f 75 72 6e 61 6c | of fld |"journal|
|00005970| 22 20 6f 66 20 63 64 20 | 69 20 69 6e 74 6f 20 6c |" of cd |i into l|
|00005980| 69 6e 65 20 69 20 6f 66 | 20 53 6f 75 72 63 65 4d |ine i of| SourceM|
|00005990| 65 6e 75 73 74 6f 72 61 | 67 65 0d 65 6e 64 20 72 |enustora|ge.end r|
|000059a0| 65 70 65 61 74 0d 73 65 | 74 70 72 6f 6d 70 74 6f |epeat.se|tprompto|
|000059b0| 69 64 20 22 53 6f 72 74 | 69 6e 67 22 26 26 6e 75 |id "Sort|ing"&&nu|
|000059c0| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |mber of |lines in|
|000059d0| 20 53 6f 75 72 63 65 4d | 65 6e 75 73 74 6f 72 61 | SourceM|enustora|
|000059e0| 67 65 26 26 22 4a 6f 75 | 72 6e 61 6c 73 2e 2e 2e |ge&&"Jou|rnals...|
|000059f0| 22 0d 70 75 74 20 66 75 | 6c 6c 73 6f 72 74 28 53 |".put fu|llsort(S|
|00005a00| 6f 75 72 63 65 4d 65 6e | 75 73 74 6f 72 61 67 65 |ourceMen|ustorage|
|00005a10| 29 20 69 6e 74 6f 20 53 | 6f 75 72 63 65 4d 65 6e |) into S|ourceMen|
|00005a20| 75 73 74 6f 72 61 67 65 | 0d 73 65 74 70 72 6f 6d |ustorage|.setprom|
|00005a30| 70 74 6f 69 64 20 22 45 | 6c 69 6d 69 6e 61 74 69 |ptoid "E|liminati|
|00005a40| 6e 67 20 44 75 70 6c 69 | 63 61 74 65 73 2e 2e 2e |ng Dupli|cates...|
|00005a50| 22 0d 70 75 74 20 73 74 | 72 69 70 64 75 70 28 53 |".put st|ripdup(S|
|00005a60| 6f 75 72 63 65 4d 65 6e | 75 73 74 6f 72 61 67 65 |ourceMen|ustorage|
|00005a70| 29 20 69 6e 74 6f 20 53 | 6f 75 72 63 65 4d 65 6e |) into S|ourceMen|
|00005a80| 75 73 74 6f 72 61 67 65 | 0d 69 66 20 6c 69 6e 65 |ustorage|.if line|
|00005a90| 20 31 20 6f 66 20 53 6f | 75 72 63 65 4d 65 6e 75 | 1 of So|urceMenu|
|00005aa0| 73 74 6f 72 61 67 65 20 | 3d 20 65 6d 70 74 79 20 |storage |= empty |
|00005ab0| 74 68 65 6e 20 64 65 6c | 65 74 65 20 6c 69 6e 65 |then del|ete line|
|00005ac0| 20 31 20 6f 66 20 53 6f | 75 72 63 65 4d 65 6e 75 | 1 of So|urceMenu|
|00005ad0| 73 74 6f 72 61 67 65 0d | 73 65 74 70 72 6f 6d 70 |storage.|setpromp|
|00005ae0| 74 6f 69 64 20 6e 75 6d | 62 65 72 20 6f 66 20 6c |toid num|ber of l|
|00005af0| 69 6e 65 73 20 69 6e 20 | 53 6f 75 72 63 65 4d 65 |ines in |SourceMe|
|00005b00| 6e 75 73 74 6f 72 61 67 | 65 26 26 20 22 4a 6f 75 |nustorag|e&& "Jou|
|00005b10| 72 6e 61 6c 73 2e 2e 2e | 22 0d 70 75 74 20 53 6f |rnals...|".put So|
|00005b20| 75 72 63 65 4d 65 6e 75 | 73 74 6f 72 61 67 65 20 |urceMenu|storage |
|00005b30| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 53 6f 75 |into cd |fld "Sou|
|00005b40| 72 63 65 4d 65 6e 75 73 | 74 6f 72 61 67 65 22 20 |rceMenus|torage" |
|00005b50| 6f 66 20 63 61 72 64 20 | 22 6d 65 6e 75 22 0d 65 |of card |"menu".e|
|00005b60| 6c 73 65 20 69 66 20 77 | 68 61 74 20 69 73 20 22 |lse if w|hat is "|
|00005b70| 4b 65 79 77 6f 72 64 73 | 22 20 74 68 65 6e 0d 70 |Keywords|" then.p|
|00005b80| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 4b 65 |ut empty| into Ke|
|00005b90| 79 77 6f 72 64 6d 65 6e | 75 73 74 6f 72 61 67 65 |ywordmen|ustorage|
|00005ba0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00005bb0| 20 32 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 2 to th|e number|
|00005bc0| 20 6f 66 20 63 64 73 0d | 69 66 20 66 6c 64 20 22 | of cds.|if fld "|
|00005bd0| 4b 65 79 77 6f 72 64 22 | 20 6f 66 20 63 64 20 69 |Keyword"| of cd i|
|00005be0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00005bf0| 65 6e 0d 70 75 74 20 72 | 65 74 75 72 6e 26 66 6c |en.put r|eturn&fl|
|00005c00| 64 20 22 4b 65 79 77 6f | 72 64 22 20 6f 66 20 63 |d "Keywo|rd" of c|
|00005c10| 64 20 69 20 61 66 74 65 | 72 20 4b 65 79 77 6f 72 |d i afte|r Keywor|
|00005c20| 64 6d 65 6e 75 73 74 6f | 72 61 67 65 0d 65 6e 64 |dmenusto|rage.end|
|00005c30| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 73 | if.end |repeat.s|
|00005c40| 65 74 70 72 6f 6d 70 74 | 6f 69 64 20 22 53 6f 72 |etprompt|oid "Sor|
|00005c50| 74 69 6e 67 22 26 26 6e | 75 6d 62 65 72 20 6f 66 |ting"&&n|umber of|
|00005c60| 20 4c 69 6e 65 73 20 69 | 6e 20 4b 65 79 77 6f 72 | Lines i|n Keywor|
|00005c70| 64 6d 65 6e 75 73 74 6f | 72 61 67 65 26 26 22 6b |dmenusto|rage&&"k|
|00005c80| 65 79 77 6f 72 64 73 2e | 2e 2e 22 0d 70 75 74 20 |eywords.|..".put |
|00005c90| 66 75 6c 6c 73 6f 72 74 | 28 4b 65 79 77 6f 72 64 |fullsort|(Keyword|
|00005ca0| 6d 65 6e 75 73 74 6f 72 | 61 67 65 29 20 69 6e 74 |menustor|age) int|
|00005cb0| 6f 20 4b 65 79 77 6f 72 | 64 6d 65 6e 75 73 74 6f |o Keywor|dmenusto|
|00005cc0| 72 61 67 65 0d 73 65 74 | 70 72 6f 6d 70 74 6f 69 |rage.set|promptoi|
|00005cd0| 64 20 22 45 6c 69 6d 69 | 6e 61 74 69 6e 67 20 44 |d "Elimi|nating D|
|00005ce0| 75 70 6c 69 63 61 74 65 | 73 2e 2e 2e 22 0d 70 75 |uplicate|s...".pu|
|00005cf0| 74 20 73 74 72 69 70 64 | 75 70 28 4b 65 79 77 6f |t stripd|up(Keywo|
|00005d00| 72 64 6d 65 6e 75 73 74 | 6f 72 61 67 65 29 20 69 |rdmenust|orage) i|
|00005d10| 6e 74 6f 20 4b 65 79 77 | 6f 72 64 6d 65 6e 75 73 |nto Keyw|ordmenus|
|00005d20| 74 6f 72 61 67 65 0d 69 | 66 20 6c 69 6e 65 20 31 |torage.i|f line 1|
|00005d30| 20 6f 66 20 4b 65 79 77 | 6f 72 64 6d 65 6e 75 73 | of Keyw|ordmenus|
|00005d40| 74 6f 72 61 67 65 20 3d | 20 65 6d 70 74 79 20 74 |torage =| empty t|
|00005d50| 68 65 6e 20 64 65 6c 65 | 74 65 20 6c 69 6e 65 20 |hen dele|te line |
|00005d60| 31 20 6f 66 20 4b 65 79 | 77 6f 72 64 6d 65 6e 75 |1 of Key|wordmenu|
|00005d70| 73 74 6f 72 61 67 65 0d | 73 65 74 70 72 6f 6d 70 |storage.|setpromp|
|00005d80| 74 6f 69 64 20 6e 75 6d | 62 65 72 20 6f 66 20 6c |toid num|ber of l|
|00005d90| 69 6e 65 73 20 69 6e 20 | 4b 65 79 77 6f 72 64 6d |ines in |Keywordm|
|00005da0| 65 6e 75 73 74 6f 72 61 | 67 65 26 26 20 22 4b 65 |enustora|ge&& "Ke|
|00005db0| 79 77 6f 72 64 73 2e 2e | 2e 22 0d 70 75 74 20 4b |ywords..|.".put K|
|00005dc0| 65 79 77 6f 72 64 6d 65 | 6e 75 73 74 6f 72 61 67 |eywordme|nustorag|
|00005dd0| 65 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 22 4b |e into c|d fld "K|
|00005de0| 65 79 77 6f 72 64 6d 65 | 6e 75 73 74 6f 72 61 67 |eywordme|nustorag|
|00005df0| 65 22 20 6f 66 20 63 61 | 72 64 20 22 6d 65 6e 75 |e" of ca|rd "menu|
|00005e00| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 70 6f 70 |".end if|.end pop|
|00005e10| 75 70 63 6f 6c 6c 65 63 | 74 0d 0d 6f 6e 20 70 6f |upcollec|t..on po|
|00005e20| 70 75 70 65 64 69 74 20 | 77 68 61 74 0d 67 6c 6f |pupedit |what.glo|
|00005e30| 62 61 6c 20 66 69 65 6c | 64 6d 65 6e 75 73 74 6f |bal fiel|dmenusto|
|00005e40| 72 61 67 65 2c 53 6f 75 | 72 63 65 4d 65 6e 75 73 |rage,Sou|rceMenus|
|00005e50| 74 6f 72 61 67 65 2c 6b | 65 79 77 6f 72 64 6d 65 |torage,k|eywordme|
|00005e60| 6e 75 73 74 6f 72 61 67 | 65 0d 69 66 6e 6f 63 61 |nustorag|e.ifnoca|
|00005e70| 72 64 73 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |rds.set |cursor t|
|00005e80| 6f 20 77 61 74 63 68 0d | 69 66 20 77 68 61 74 20 |o watch.|if what |
|00005e90| 69 73 20 22 55 73 65 72 | 46 69 65 6c 64 22 20 74 |is "User|Field" t|
|00005ea0| 68 65 6e 0d 70 75 74 20 | 6c 69 73 74 73 65 6c 65 |hen.put |listsele|
|00005eb0| 63 74 28 22 44 49 53 23 | 22 2c 66 69 65 6c 64 6d |ct("DIS#|",fieldm|
|00005ec0| 65 6e 75 73 74 6f 72 61 | 67 65 2c 22 47 65 6e 65 |enustora|ge,"Gene|
|00005ed0| 76 61 2c 39 22 29 20 69 | 6e 74 6f 20 64 65 6c 6c |va,9") i|nto dell|
|00005ee0| 69 73 74 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |ist.repe|at with |
|00005ef0| 69 20 3d 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |i = numb|er of li|
|00005f00| 6e 65 73 20 69 6e 20 64 | 65 6c 6c 69 73 74 20 64 |nes in d|ellist d|
|00005f10| 6f 77 6e 20 74 6f 20 31 | 0d 64 65 6c 65 74 65 20 |own to 1|.delete |
|00005f20| 6c 69 6e 65 20 28 6c 69 | 6e 65 20 69 20 6f 66 20 |line (li|ne i of |
|00005f30| 64 65 6c 6c 69 73 74 29 | 20 6f 66 20 66 69 65 6c |dellist)| of fiel|
|00005f40| 64 6d 65 6e 75 73 74 6f | 72 61 67 65 0d 65 6e 64 |dmenusto|rage.end|
|00005f50| 20 72 65 70 65 61 74 0d | 70 75 74 20 66 69 65 6c | repeat.|put fiel|
|00005f60| 64 6d 65 6e 75 73 74 6f | 72 61 67 65 20 69 6e 74 |dmenusto|rage int|
|00005f70| 6f 20 63 64 20 66 6c 64 | 20 22 66 69 65 6c 64 6d |o cd fld| "fieldm|
|00005f80| 65 6e 75 73 74 6f 72 61 | 67 65 22 20 6f 66 20 63 |enustora|ge" of c|
|00005f90| 61 72 64 20 22 6d 65 6e | 75 22 0d 65 6c 73 65 20 |ard "men|u".else |
|00005fa0| 69 66 20 77 68 61 74 20 | 69 73 20 22 53 6f 75 72 |if what |is "Sour|
|00005fb0| 63 65 22 20 74 68 65 6e | 0d 70 75 74 20 6c 69 73 |ce" then|.put lis|
|00005fc0| 74 73 65 6c 65 63 74 28 | 22 44 49 53 23 22 2c 53 |tselect(|"DIS#",S|
|00005fd0| 6f 75 72 63 65 4d 65 6e | 75 73 74 6f 72 61 67 65 |ourceMen|ustorage|
|00005fe0| 2c 22 47 65 6e 65 76 61 | 2c 39 22 29 20 69 6e 74 |,"Geneva|,9") int|
|00005ff0| 6f 20 64 65 6c 6c 69 73 | 74 0d 72 65 70 65 61 74 |o dellis|t.repeat|
|00006000| 20 77 69 74 68 20 69 20 | 3d 20 6e 75 6d 62 65 72 | with i |= number|
|00006010| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 64 65 6c | of line|s in del|
|00006020| 6c 69 73 74 20 64 6f 77 | 6e 20 74 6f 20 31 0d 64 |list dow|n to 1.d|
|00006030| 65 6c 65 74 65 20 6c 69 | 6e 65 20 28 6c 69 6e 65 |elete li|ne (line|
|00006040| 20 69 20 6f 66 20 64 65 | 6c 6c 69 73 74 29 20 6f | i of de|llist) o|
|00006050| 66 20 53 6f 75 72 63 65 | 4d 65 6e 75 73 74 6f 72 |f Source|Menustor|
|00006060| 61 67 65 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 70 |age.end |repeat.p|
|00006070| 75 74 20 53 6f 75 72 63 | 65 4d 65 6e 75 73 74 6f |ut Sourc|eMenusto|
|00006080| 72 61 67 65 20 69 6e 74 | 6f 20 63 64 20 66 6c 64 |rage int|o cd fld|
|00006090| 20 22 53 6f 75 72 63 65 | 4d 65 6e 75 73 74 6f 72 | "Source|Menustor|
|000060a0| 61 67 65 22 20 6f 66 20 | 63 61 72 64 20 22 6d 65 |age" of |card "me|
|000060b0| 6e 75 22 0d 65 6c 73 65 | 20 69 66 20 69 74 65 6d |nu".else| if item|
|000060c0| 20 31 20 6f 66 20 77 68 | 61 74 20 69 73 20 22 4b | 1 of wh|at is "K|
|000060d0| 65 79 77 6f 72 64 73 22 | 20 74 68 65 6e 0d 70 75 |eywords"| then.pu|
|000060e0| 74 20 6c 69 73 74 73 65 | 6c 65 63 74 28 22 44 49 |t listse|lect("DI|
|000060f0| 53 23 22 2c 4b 65 79 77 | 6f 72 64 6d 65 6e 75 73 |S#",Keyw|ordmenus|
|00006100| 74 6f 72 61 67 65 2c 22 | 47 65 6e 65 76 61 2c 39 |torage,"|Geneva,9|
|00006110| 22 29 20 69 6e 74 6f 20 | 64 65 6c 6c 69 73 74 0d |") into |dellist.|
|00006120| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00006130| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00006140| 69 6e 20 64 65 6c 6c 69 | 73 74 20 64 6f 77 6e 20 |in delli|st down |
|00006150| 74 6f 20 31 0d 64 65 6c | 65 74 65 20 6c 69 6e 65 |to 1.del|ete line|
|00006160| 20 28 6c 69 6e 65 20 69 | 20 6f 66 20 64 65 6c 6c | (line i| of dell|
|00006170| 69 73 74 29 20 6f 66 20 | 4b 65 79 77 6f 72 64 6d |ist) of |Keywordm|
|00006180| 65 6e 75 73 74 6f 72 61 | 67 65 0d 65 6e 64 20 72 |enustora|ge.end r|
|00006190| 65 70 65 61 74 0d 70 75 | 74 20 4b 65 79 77 6f 72 |epeat.pu|t Keywor|
|000061a0| 64 6d 65 6e 75 73 74 6f | 72 61 67 65 20 69 6e 74 |dmenusto|rage int|
|000061b0| 6f 20 63 64 20 66 6c 64 | 20 22 4b 65 79 77 6f 72 |o cd fld| "Keywor|
|000061c0| 64 6d 65 6e 75 73 74 6f | 72 61 67 65 22 20 6f 66 |dmenusto|rage" of|
|000061d0| 20 63 61 72 64 20 22 6d | 65 6e 75 22 0d 65 6e 64 | card "m|enu".end|
|000061e0| 20 69 66 0d 65 6e 64 20 | 70 6f 70 75 70 65 64 69 | if.end |popupedi|
|000061f0| 74 00 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |t.er of |lines in|
|00006200| 20 64 65 6c 6c 69 73 74 | 20 64 6f 77 6e 20 74 6f | dellist| down to|
|00006210| 20 31 0d 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 28 | 1.delet|e line (|
|00006220| 6c 69 6e 65 20 69 20 6f | 66 20 64 65 6c 6c 69 73 |line i o|f dellis|
|00006230| 74 29 20 6f 66 20 4b 65 | 79 77 6f 72 64 6d 65 6e |t) of Ke|ywordmen|
|00006240| 75 73 74 6f 72 61 67 65 | 0d 65 6e 64 20 72 65 70 |ustorage|.end rep|
|00006250| 65 61 74 0d 70 75 74 20 | 4b 65 79 77 6f 72 64 6d |eat.put |Keywordm|
|00006260| 65 6e 75 73 74 6f 72 61 | 67 65 20 69 6e 74 6f 20 |enustora|ge into |
|00006270| 63 64 20 66 6c 64 20 22 | 4b 65 79 77 6f 72 64 6d |cd fld "|Keywordm|
|00006280| 00 00 1e 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00006290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062a0| 00 0d 1b 85 00 04 00 47 | 00 04 04 09 00 00 00 00 |.......G|........|
|000062b0| 00 0d 23 27 00 0d 25 b2 | 00 00 00 00 00 0d 27 e9 |..#'..%.|......'.|
|000062c0| 00 0d 35 06 00 0d 43 de | 00 0d 51 13 00 09 61 47 |..5...C.|..Q...aG|
|000062d0| 00 04 44 e4 00 09 5b 0e | 00 0d 07 24 00 00 00 00 |..D...[.|...$....|
|000062e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.